Forum Moderators: not2easy
I'm having an issue with creating some tool tips using javascript to display a div. I want the div to appear when mouse is over an image. Problem is that in IE the div pops up under the image itself. Here is my code, please suggest some fixes. Thanks!
HTML
<span style = "position: relative;" onmouseover = "javascript:showHide('1')" onmouseout = "javascript:showHide('1')">
<img src = "http://www.example.com/img/badges/1.png">
<span class = "badge_info" id = "1" style="display: none">
Some Info
</span>
</span>
CSS
.badge_info {
position:absolute;
top: 5px;
left: 15px;
z-index: 2;
background-color: #FFFBF0;
border: 1px solid #A0A0A4;
padding: 3px;
}