Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
joined:Mar 13, 2005
Will unfortunately over-ride your table width and come out as a 50-width table due to the cell's width.
Also for tables with more than one cell, you need to add the width of all the cells in a row, column after column, to make sure no row of cells exceeds the table's total width.
Find the first <tr> NOW add ALL the <td width='s> until you get to the first </tr>, then that is your sum per row.
Do this for every <tr> -to- </tr> (your rows) and add the widths of the <td's> (your columns).
If this is not the problem, I am sorry to have wasted your time.
It's worth remembering what an HTML table was originally designed for: it was designed to hold tabular data, and therefore it is appropriate for a table to grow to fit the content we put in it. Tables were not designed for layout and therefore it is inappropriate for us to try to assign a specific width to a table. We should use div tags with CSS for layout and assign them whatever width we like, and we should use tables for displaying tabular data and allow them to grow to whatever width is natural for the data in the tables. Of course, this is how it should be in an ideal world, and the real world we live in is seldom ideal.