<a href=\"\" style=\"display:block;width:200px;height:200px;\"> <span style=\"display:block;width:100px;height:100px;\"> <img src=\"img.jpg\" alt=\"\" /> </span></a>
Everything is fine with firefox etc, but the link won't work by clicking directly on the image on IE6 (but will do work anywhere else on the <a>).
Someone has an idea ?
Thanks !
edit : This does not work on IE7 either
You don't have anything in the href="" which will stop it from being clickable.
Here is a link of a demo page:
http://www.daniel-rico.com/demos/ie/
Next, I agree with Ashton... remove the span.
If you can't do that, try adding display:inline to the image.