Hi all
I'm having an issue in every developer's favourite browser, IE.
I have an anchor tag wrapped around two divs. The first div contains a transparent png and the aforementioned div is hidden using 'display:none;'
When the anchor is moused over the div is shown with jquery's hoverintent. However, in IE, when this action happens the link becomes inactive in the area where the hidden div is displayed.
I can't figure out how to get around this problem. I hope someone here has a solution. My code is below.
HTML
<a class="link">
<div style="display:none;" id="overlay_white">overlay image goes here</div>
<div class="imageHolder">news image goes here</div>
</a>
CSS
.link {
font-size:12px;
font-weight:bold;
color:#666666;
text-decoration:none;
text-align:center;
cursor:pointer;
}
.link:hover {
text-decoration:underline;
}
.imageHolder {
width:236px;
height:236px;
background-color:#EBEBEB;
text-align:left;
}
#overlay_white {
float:left;
position:absolute;
margin:0;
padding:0;
}