I have a link that for a couple of reasons I'm disabling by displaying a transparent div on top of it. This works on FF and Chrome just fine, but on IE the link is still clickable. If I add a background color to the div (other than transparent) then the link is not clickable as it should be.
Any ideas on how to achieve this?
here's an example: http://jsfiddle.net/GdEak/7/
<div id=container>
<div class='disabled'></div>
<a href="#">Some link</a>
</div>
CSS:
#container{
position:relative;
}
.disabled{
width:200px;
height:30px;
position:absolute;
top:0;
left:0;
}
a{
display:inline-block;
width:200px;
height:30px;
}
Thanks!