This page exhibits reduced test cases for three different CSS bugs in Internet Explorer 5.0 for Windows that make image links stop working (i.e. linked images become disabled/unclickable). The only workaround seems to be to avoid using CSS in these particluar ways.
Fortunately, no other browsers seem to be affected by these bugs.
<p class="test"> <a href="http://www.google.com/"><img src="testimage.jpg" alt="Test image" /></a> </p>
.test a { width : 120px; }
.test a { height : 120px; }
.test img { border : 2px solid blue; }
Note: We need to defined the img border, because otherwise the image will furthermore disappear when clicked. Silly bug.
.test a { position : absolute; }
.test img { border : 2px solid blue; }
Note: We need to defined the img border, because otherwise the image will furthermore disappear when clicked. Silly bug.
See also the related weblog entry.
Már Örlygsson - mar@anomy.net - http://mar.anomy.net/