Jukka K. Korpela <jkorpela (AT) cs (DOT) tut.fi> wrote:
Quote:
My guess is that your problem relates to the feature that widths for
table columns are determined in a fairly complex manner, potentially
overriding the widths you set, at least when you don't set |
Unfortunately almost all "big" browsers are just doing the wrong thing
when you use "nowrap" in table cells, also they are doing often the
wrong thing with the width of table cells.
Most browsers will ignore the "nowrap" attribute if a width is specified
for the cell as well. This is wrong, because the specified width must be
treated as minimum width (see the section about table formatting in the
CSS specification). So it is OK if the the final width of a cell is
larger then the specified one. So it can make sense to use "nowrap" and
"width" at the same time.
Also browsers are reducing the specified width (which is the minimum
width) of a cell if the specified width of the table itself is "too
small". But this is also wrong, because the resulting width of the table
itself must be the maximum of the specified width of the table and the
sum of the cell widths.
Maybe the browser developers try to mimic the behavior of the old
browser releases to avoid conflicts with web sites. But in my opinion
this would be only OK for the "Quirks" mode, but they're doing this also
in "standards compliant" mode, which is a very bad idea IMHO.
--
Alexander