On 06/11/2006 05:20, Jonathan Berry wrote:
> Hello all,
> I have produced a website (http://eldercare.signonsandiego.com/redesign) that
> exhibits a background-color highlight in IE6 and 7. Problem is, I can't
> remember how I did it. Now that I am working on a new site (
> http://sdasf.org/cms/index.php?id=9,36,0,0,1,0), I want to replicate the
> :hover pseudo-class effect on this site as well. Can someone illuminate this
> once and for all for me so I can remember it from now on. I just saw a
> thread on here about <li> styles, but didn't want to interrupt that. I also
> want to know in relation to this if the <li><a> on my first site exhibits
> this because of the markup present, i.e. since the second site only has <a>
> tags within the <div> in question. Any help much to be appreciated.
> 

IE6/Win only supports :hover on <a> elements, so your CSS would contain 
something like:

div.class a:hover {
     /* change styles */
}

whereas IE7/Win seems to support :hover on most elements. I think in 
your case you only want to use a:hover, since the effect is part of the 
navigation.

Brad
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to