[thelist] a:hover subelement?
Kevin
p+evolt at redbrick.dcu.ie
Mon Nov 11 13:31:01 CST 2002
Hi all,
COuld someone take a quick look at this.
I'm trying to create a little re-usable effect with CSS.
I'm not sure if it's posible to have change a subelement of a link like this.
Thouhgts?
HTML CODE:
<div id="nav"><a href="#"><em> -- </em>moo</a>
CSS CODE:
#nav a {
color: black;
}
#nav a em {
color: white;
}
ALl the above works, except for the hover.
#nav a:hover em {
color: blue;
}
More information about the thelist
mailing list