[thelist] css: background-color
Bertilo Wennergren
bertilow at gmx.net
Tue Oct 1 08:12:01 CDT 2002
Joxn:
> I tried the following:
>
> tr1
> {
> background-color : #FFFFFF;
> }
> tr2
> {
> background-color : #DCDCDC;
> }
>
> However, as I understand the CSS spec, the background-color is not
> automatically inherited.
Have you tried this?
tr1 td, tr1 th
{
background-color : #FFFFFF;
}
tr2 td, tr2 th
{
background-color : #DCDCDC;
}
--
Bertilo Wennergren <bertilow at gmx.net> <http://www.bertilow.com>
More information about the thelist
mailing list