Do you want to tackle the <table> tag next? I can give it a shot, but not until after I get some sleep. :)
Why don't you give it a go in the morning. I spent the day recovering a client's data from a failed upgrade where his backups were on the same HD as the OS... not good... and i'm pooped. I'll look forward to seeing it. ;^)>