Paul, on Wednesday, January 4, 2006 at 17:35 wsg@webstandardsgroup.org wrote:
> You can't use the :hover pseudo class on any element other than an > anchor in IE unfortunately. I don't have time to look too far, but > with a brief search I found this link that mentions it: > http://4umi.com/web/css/hover.htm Yes, you're right! You have to use a behavior, expression or some other javascript solution to make :hover work on other elements than a in ie < 7, but if you take a closer look at the css I sent, you'll see that you don't need a :hover on the span to change the background. The :hover is set on the a(!): > a#header:hover span { > background: url(another url) no-repeat (or shift); > } (it could be that you have to change the background of the a tag too, but if I recall it right, it sometimes solves the :focus, which doesn't work well at all). I use this quite often and it works. regards Martin ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************