[thelist] css contextual selector problem

serena . latveria . com serena at latveria.com
Thu Apr 4 08:11:01 CST 2002


         got a problem with contextual selectors in netscape 4.
here's my css:

body { background-color: #fff; }
a:link, a:active { color: #000; text-decoration: underline; }

.head { background-color: #000; }
.head a:link, .head a:active { color: #fff; text-decoration: underline; }

         netscape 4.7 just refuses to apply the correct link color
to the 'head' class. i tryed also div.head a:etc etc but it won't work
as well. i used to know contextual selectors were safe (even if now
i just can't remeber where this rule of mine come from). maybe i'm
missing something..

thank you



ciau
serena

:: serena at latveria.com
:: latveria web designer




More information about the thelist mailing list