[thelist] revisited: css positioning

Mark Groen mark at markgroen.com
Fri Jun 28 01:07:05 CDT 2002


> When validating the above page for CSS however (just click link on
> right), I get an error where it says background not specified with
> color. Yet the way my CSS is nested, both are specified.
>
> My question is, do I need to specify both of these in the same class?
> It seems otherwise my nesting isn't being recognized for some reason.

Easiest way around that is whenever you have color:#foo; specified in a
class, add background-color:transparent; right after and it should validate. I
know it seems you shouldn't have to with proper nesting, but there is
somewhere in the specs that says it needs to be specified every time IIRC.



More information about the thelist mailing list