Jump to content

[SOLVED] IE is indenting my submenu - what am I missing?


michaellunsford

Recommended Posts

I've gone through this a dozen times. IE 7 indents the submenu, and it's driving me crazy. I know it's some default style I'm forgetting to reset - but which one? Ugh...

 

ps> works in FireFox, Safari, Opera, Camino, SeaMonkey, Flock, blah blah

 

live example:

http://qqad.com

 

@charset "UTF-8";
/* CSS Document */
#menu {
background:#69b7c5;
height:38px;
width:781px;
margin:0 auto;
font:13px normal Arial, Helvetica, sans-serif;
}
#menu ul {
padding:0;
margin:0;
cursor:pointer;
}
#menu ul li {
width:110px;
float:left;
height:30px !important;
list-style-type: none;
background:#69B7C5;
padding-top:4px;
padding-bottom:2px;
text-align:center;
}
#menu ul li ul {
position:absolute;
display:none !important;
float:none !important;
background:#157e93 !important;
border:2px solid #157e93;
border-top:none;
width:110px;
}
#menu ul li:hover > ul, ul li ul:hover {
display:block !important;
}
#menu ul li a {
text-decoration:none !important;
display:block;
color:#000 !important;
height:30px;
}
#menu ul li:hover > a, ul li > ul a:hover {
background:#157e93;
}

Link to comment
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.