
Originally Posted by
jettrue
What's your set width for dropMenuWrapper and dropMenu? What's your font size for the menu?
The main thing is all now stays on one line and does not wrap in either IE6 or FF. With your assistance I have succeeded. Thanks!
Anyone aware of a good web resource explaining how FF, IE6 and IE7 respond to CSS and providing workarounds and hacks?
Below is my latest relevant CSS. Still some "em" values to convert to "px" but I'm slowly getting there (no real need to convert for the submenu items).
Woody
Code:
#dropMenuWrapper {
width: 100%; /* ORIG */
height: 5px; /* ORIG */
margin: 0; /* ORIG */
font-size: 11px; /* ORIG */
padding-bottom: 1px;
}
div#dropMenu {
width: 840px;
margin: 0 auto; /* ORIG */
text-align: center; /* ORIG */
z-index: 1000; /* ORIG */
position: relative; /* ORIG */
}
div#dropMenu ul {
margin: 0;
padding: 0;
}
div#dropMenu li {
position: relative; /* ORIG */
list-style: none; /* ORIG */
margin: 0; /* ORIG */
float: left; /* ORIG */
line-height: 1em; /* ORIG */
width: 16.667%; /* width added by jade */
background: #A5B7E9; /*NOT IN ORIG */
}
div#dropMenu ul.level1 {
width: 70em; /* ORIG NOT ME */
margin: 0 auto; /* ORIG NOT ME */
text-align: center; /* ORIG */
height: 2.17em; /* ORIG */
z-index: 1000; /* ORIG */
}
div#dropMenu li a {
display: block; /* ORIG */
padding: 5px 0 5px 0; /* by Jade */
text-decoration: none; /* ORIG */
text-transform: uppercase; /* ORIG */
color: #ffffff; /* ORIG */
text-align: center; /* ORIG */
border-right: 1px solid #ffffff; /* ORIG */
border-left: 1px solid #ffffff; /* by jade */
}
div#dropMenu ul.level2 {
top: 3px;
background: #4f4f4f;
z-index: 1000;
left: 0; /* recommend by jade */
}