[thelist] a:hover subelement?
Bret Daniel
BDaniel at Chemnavigator.com
Mon Nov 11 14:18:02 CST 2002
Hi,
try something like the following
a.link
a.link:hover
i think the hover needs to come first
-Bret
-----Original Message-----
From: Kevin [mailto:p+evolt at redbrick.dcu.ie]
Sent: Monday, November 11, 2002 11:31 AM
To: thelist at lists.evolt.org
Subject: [thelist] a:hover subelement?
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;
}
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list