Jeff Thies said:
I have a table row where I've set the cell widths:
td{width: 200px}
Normally widths should not be set in pixels, since you cannot know how
much space in pixels will be needed for the content presented in a font
size that the user can read. But the same problem exists when other units
(all praise em!) are used.
I'd like one cell to be the default unspecified (assuming I have a
class for that).
Normally there's no way in CSS to say "use the defaults that you would
use if I hadn't opened my mouth". To leave an element's property
unspecified, don't so anything - e.g., put all other elements into a
class and specify property for them only. Yeah, I know, awkward.
But unless I'm missing something, for table cell's width you can say
width: auto
to make the browser behave according to its defaults for the cell. For a
cell, width: auto means that the cell is as wide as needed for the
content, with word wrapping applied if needed to keep the entire table's
width within the available horizontal space.
And, this really is tabular data. My current definition for that is
that there is a "th" that describes the column, always exceptions of
course!
Sounds like working definition to me. I would go a bit farther and say
that a table is tabular data if it has column headers _or could have_
although we might omit them because they are obvious, or something.