sneakyimp
08-07-2008, 08:56 PM
OK I am trying to display a table with *exact* width specs for each column. I have my doctype as strict, i have a style applied to each cell that specifies a width, and yet the widths of the columns vary because the browser seems to be auto-adjusting the layout. At least all this is true when I view it in firefox. You can see it here:
http://jaith.net/questions/table.htm
The first column should be 50px in width. The next 15 or so columns should all be 75px in width but as you can see (when using firefox 2) they vary. WTF?
I have tried setting various CSS properties such as white-space:nowrap and table-layout: fixed and so on but it doesn't help. Any tips would be much appreciated.
http://jaith.net/questions/table.htm
The first column should be 50px in width. The next 15 or so columns should all be 75px in width but as you can see (when using firefox 2) they vary. WTF?
I have tried setting various CSS properties such as white-space:nowrap and table-layout: fixed and so on but it doesn't help. Any tips would be much appreciated.