Home › Forums › CSS › [Solved] Menu spilling out in IE (all IE’s) › Re: [Solved] Menu spilling out in IE (all IE’s)
Sorry Ashton – I was trying an IE conditional comment and you may take it that it didn’t work! :oops: It’s back to normal now. Here’s the CSS as it is in the style sheet:
position: absolute;
top: 0px; left: 0px;
width: 100%; height: 80px;
background: url(images/new-theme/faux_nav_bg.jpg) repeat-x top left #092517;
border-bottom: 2px solid #8d8d46;
}
ul#main-nav {
position: relative; clear: both;
z-index: 100;
list-style: none;
margin: 2px auto 0 auto;
padding: 0;
min-width: 990px; height: 82px;
overflow: visible;
width: 90%;
}
ul#main-nav li {
position:relative;
float:left; z-index:100;
}
ul#main-nav li a {
background: url(images/new-theme/top_nav_bg.jpg) repeat-x scroll left top;
color: #d8d8d8;
display: block;
font-family: Arial, sans-serif;
font-size: 16px;
font-weight: bold;
height: 50px;
border-top: 1px solid #376b55;
padding: 25px 25px 0 25px;
text-align: center;
}
ul#main-nav li.admin,
ul#main-nav li.search-li {
float: right;
margin-right: 10px;
}
ul#main-nav li.admin a {
background: url(images/new-theme/top_nav_bg.jpg) repeat-x scroll left top;
color: #d8d8d8;
display: block;
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: lighter;
height: 50px;
border-top: 1px solid #376b55;
padding: 25px 15px 0 15px;
text-align: center;
}
ul#main-nav li a:hover {
background: url(images/new-theme/top_nav_bg.jpg) bottom left repeat-x;
border-top: 1px solid #4e836e;
}