> > From: "Sarah Atkinson" <[EMAIL PROTECTED]>
> > I have two Classes and a hover effect on Class1. However when
> > someone hovers on the item for class1 I want the effect to be to Class2
> >
> > Is this possible and how?
> You can put, for instance:
> <a href="http://whatever.com"; class="class1 class2">whatever.com</a>
> 
> For this example, your style sheet would look something like:
> 
> a.class1:link, a.class1:visited, a.class1:active
{background-color:#ffcc00;}
> a.class2:link:hover {background-color:#ffffcc;}

I should have noted that this works too:
a.class1:link, a.class1:visited, a.class1:active, a.class1:hover
{background-color:#ffcc00;}
a.class2:link:hover {background-color:#ffffcc;}

Nancy

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to