Jump to content
xisto Community
Sign in to follow this  
puneye

Need Help :hover For Ie8 Beta2 Need CSS help

Recommended Posts

I just make Menu using Dreamweaver CS4. The menu is simple only text. I used block properties for this menu and I make hover effect on it. But hover effect greatly works on Mozilla Firefox and Google Chrome but not works in Internet Explorer 8 Beta (I thinks it will not work on IE7 and above). I googled for it but not able to solve the issue then post here waiting the solution. If you know about it please help me. I am giving following code for reference.
Html code

<div id="menu"><ul>
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
</ul>
</div>


and my CSS code

#menu { float: left;
height: 40px;
width: 490px;
}
#menu ul {
margin: 0px;
padding: 0px;
list-style-type: none;
text-align: left;
}
#menu ul li {
}
#menu ul li a {
display: block;
font-size: 16px;
font-weight: bold;
color: #999;
padding: 10px;
float: left;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
}
#menu ul li a:hover{
background:#ccc;
color: #000;
}


Share this post


Link to post
Share on other sites

Have you tried to change the nesting #menu ul li a:hover{ into something the IE could understand? I'm just suggesting experimenting not giving a full proof solution.For me I find IE kind of a waste of space and makes designers pull their hair all the time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.