Jump to content

Recommended Posts

Hi there,

 

I have a css drop down menu, but when looking at it in IE7, the sub menu items stay visible after the mouse has hovered off them. Can anyone help me find the problem?

 

This is my CSS:

 

#nav, #nav ul {
padding: 0;
margin: 0;
list-style: none;
font-style:bold;
}
#nav a {
display: block;
text-align:center;
color:#AB472C;
font-style:bold;
}

#nav a:hover{
color:#ab472c;
}

#nav li {
float: left;
text-align:center;
padding: 0px 10px 0px 10px
}
#nav li ul {
position: absolute;
left: -999em;
}
#nav li:hover ul {
left: auto;
}

#nav li ul, #nav li ul a{
background-color:#414141;
color:#FFFFFF;
font-style:bold!important; text-align…
width: 200px;

Link to comment
https://forums.phpfreaks.com/topic/189620-drop-down-menu-issue-in-ie7/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.