How to convert Word tables to HTML tables?

I frequently need to convert MS Word tables with data into MS FrontPage HTML tables on web pages. The problem I have is that when you just cut and pasted from Word to Frontpage it looks OK at first, but when you check the code it is an utter mess. Rubbish all over the place. Not like a neat, native HTML table at all. This is making some of my web pages for clients look like siht. Does anybody know a fast, easy way to convert Word tables of data into clean, neat, simple HTML tables with data - without that rubbish MS code all over the place?

Public Comments

  1. There's no program that i know of that will convert the table for you. But if you want to create an html table, use this code: <table> <tr> <th>This Is the first column of the first row</th> <th>This is the second column of the first row</th> </tr> <tr> <th>THis is the first columen of the second row</th> </tr> </table> Just use <tr> to create a new row, and </tr> to end the row. <th> creates a new cell in the row, with the data between it and </th> in the cell.
  2. I know that in Dreamweaver CS3 you can clean up a file generated by Ms Word saved in HTML. I'm not really sure of the result and I can't really try it right now since I only have Dreamweaver at work, but you could probably download their trial which is a full version to give it a try
  3. Yes. Stop using MS Word and Front Page entirely. Tables are for tabular data, not layouts. Start using div layouts HTML & CSS http://www.intensivstation.ch/en/templates/ There is nothing "neat" about tables, and they are hard to work with when you use them as a layout. Divs and HTML/CSS is much more easy to work with and much more flexible. Those 2 programs you're using are the worst programs to be using in web development. Bar none.
  4. The good news? Save the tables (possibly cut-and-pasted into another document) as an HTML file. The bad news? This will also put lots of stuff into the file you probably don't want. Good luck.
Powered by Yahoo! Answers