> Is this a cascading/specificity issue, or is it not possible to apply
> classes to <tr> elements?
> http://phidler.com/rosner/index3.html
> http://phidler.com/rosner/index4.html (the bright yellow isn't a
> design preference, just for testing the behavior)
You define background for TH and TD first, then the one for TR. As TR
does not have a content the background does not get applied, but the
ones for the TH and TD still apply.
Furthermore you cannot start classes with a digit, but should use a letter.
So,
tr.odd td, tr.odd th{
... settings ...
}
will get applied
th,td{
}
tr.odd {
...
}
will not.
Lots of table styling examples: http://icant.co.uk/csstablegallery/
--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/