Forum Moderators: not2easy
I have this code and works fine in firefox but nothing happens with IE.
style.css
#container {
width: 250px;
font-size:12px;
font-family:Geneva, Arial, Helvetica, sans-serif;
background-color:#FFFFCC;
}
#container a {
color: #000;
text-decoration: none;
}
#container a .box {
display: none;
}
#container a:hover .box {
display: block;
width: 200px;
border: 1px #000;
position: absolute;
background-color:#CCCCCC;
padding-left: 15px;
padding-bottom: 15px;
padding-right: 15px;
padding-top: 15px;
margin-left:100px;
text-decoration:none
} And the html
<div id="container"> <a href="go.php">link text
<span class="box">
Here the text for the hover box</span></a></div>
Any idea how to get this working in IE as well?
Also tried to add all the content in #container a:hover .box to #container a:hover and then it works on the first link and going to the next link IE hangs (looks like a loop it cant get out or something).