[thelist] CSS inheritance in IE
Dan CRACIUN
dcsquare at myrealbox.com
Sat May 6 00:35:19 CDT 2006
Hi all,
I want to make the links in a header a different color from the rest of
the document. The following works as expected in Firefox and Opera, but
IE displays all links the same color. I'm probably googling for the
wrong search terms, cause I didn't find anything relevant.
Any ideas?
<code>
body {
margin:0px;
padding:0px;
font-family:verdana, arial, helvetica, sans-serif;
color:#ffffff;
background-color:#141c6b;
}
a {color:#09c;}
a:link {color:#09c;}
a:visited {color:#09c;}
a:hover {background-color:#eee;}
#Header {
margin:50px 0px 10px 0px;
padding:17px 0px 0px 20px;
/* the rest cut for brevity*/
}
#Header>a {color:#003;}
#Header>a:link {color:#003;}
#Header>a:visited {color:#003;}
</code>
Best regards,
Dan
More information about the thelist
mailing list