1) You can learn shorthand-this can be margin:0 auto;
Code:
#wrapper {
width: 90%;
text-align: left;
margin-left: auto;
margin-right: auto;
padding-bottom: 1000px;
margin-bottom: -1000px;
border-top: 0;
border-left: 5px solid DarkKhaki;
border-right: 5px solid DarkKhaki;
background-color: CornSilk;
}
2) You have this
Code:
div {
margin: 0;
padding: 0;
}
Divs have no margins/paddings set by default so remove that
3) For moving the dropdown outa view and then into view, don't use left:-999em/left:auto because IE isn't too stable with that and the auto value can be influenced by a parent text-align 
Code:
#nav li ul {
position: absolute;
left: 0;
margin-left:-999em;
width: 150px; /* subitem width plus 2px */
/*font-weight: xxxx;*/ /* if mainitem and subitem font weights differ */
margin: 0;
line-height: 1;
border-top: 1px solid SlateGray; /* subitem border */
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul {
margin-left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul {
margin-left:0;
background: LightGoldenRodYellow; /*subitem normal bg color */
}
Use taht above
.
Bookmarks