Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily convert MS Word tables to clean HTML code' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily convert MS Word tables to clean HTML code
Authored by: broomdodger on Apr 17, '07 08:21:34AM

I do not have MS Word, but use NeoOffice 2.1 and MacOS 10.4.7.

In NeoOffice, create a table, selected the table, Copy the table, open TextEdit, Paste the table, Saved As... HTML, open the file in Safari, and yes it has been converted to a table. The source is fairly clean.



[ Reply to This | # ]
Re: Easily convert MS Word tables to clean HTML code
Authored by: Uncle Asad on Apr 17, '07 03:22:54PM

I've found NeoOffice does a decent job of cleaning up Word-generated HTML code in general (open the .html file in the "Writer/Web" module). It doesn't get everything, but it seems to eliminate the most egregious junk and make it fairly easy to finish cleaning up manually.

Unfortunately, when exporting a spreadsheet to HTML, NeoOffice seems to redundantly style every single cell :p

Also note that TextEdit only supports tables on Mac OS X 10.4 and above....



[ Reply to This | # ]