Hi I have the following code to have few links on top of img
. It works well in FF but not in IE. It seems IE is not clickable if you put link on top of img
<div style="z-index:-6755;"><img alt="October Offer" src="images/offers/october-offer.jpg" /></div>
<a href="javascript:void(0);" onclick="window.parent.SqueezeBox.close();" style="text-decoration: none; width: 147px; height: 32px; position: inherit; bottom: 32px; left: 50px; border: 1px solid red; display: block;" target="_parent"> </a>
<a href="#" onclick="window.parent.SqueezeBox.close();">
<div style="display:block; width: 185px; height: 32px; position: relative; bottom: 50px; left: 260px;border:1px solid blue; "> </div>
</a>
<href ...
should be<a href...
and links (<a>
) are not allowed to contain block elements such asdiv
s. – Domesday<aa>
tags so that the parser won't render the code instead of displaying it (he didn't know how to use the code blocks) and I had pressed backspace twice instead of once, biting off thata
there. I'm truly sorry for the confusion this has caused. – Saponify