Hi Martin, thanks for your reply...
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:
They say it will be fixed in the IE7 blog, but I'm
still developing back to version 5!
I've seen a _javascript_ solution, but again that
would cause Accessibility issues. Would love to hear if anyone has a solution to
this??!
----- Original Message -----
Sent: Wednesday, January 04, 2006 4:07
PM
Subject: Re: [WSG] Images as DIV
Background with and without link (w3c friendly)
Paul,
on Wednesday, January 4, 2006 at 15:48 wsg@webstandardsgroup.org
wrote:
> I thought the Gilder/Levin/Shea Enhancement Method was
best, but > you can't have a hover state on a graphic link using
this.
> Example HTML would be: > <a id="header"
title="Revised Image Replacement" >
href=""><span></span>Revised Image
Replacement</a>
Why?
a#header:hover span {
background: url(another url) no-repeat (or shift); }
should
work.
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 ******************************************************
|
- Re: [WSG] Images as DIV Background with and without link (w3... Paul Collins
-