Open the following page in IE7 and try clicking on the image within the category boxes:
http://www.southwestmedical.com/cat开发者_运维技巧egory/Diagnostic-Products/354
As far as I can tell, I'm not doing anything outside of the scope of (X)HTML/CSS, why am I not able to click these?
The problem was the display: block
on the span surrounding the img. Removed that and tweaked the styles to make it look the same and all is good now.
This seems to be a known phenomenon:
IE Image Link Fix
IE7-/Win: Not clickable image in a link (caused by hasLayout)
giving the img
a float: left
as well might help, and should cause no change in layout.
精彩评论