
Originally Posted by
kburner
Been working very hard to get this to work! Almost there...
***I have 13 categories - how do I get them to fit?? I have hidden at this time because it causes them to go to next line.
Finally got all 13 to fit---used
#divdropMenu li
div#dropMenu li {
position:relative;
list-style:none;
margin:0;
margin-left: .5px;
float: left;
line-height:1em;
width: 7.6%;
text-align:center;
}
***Extra space above categories in FF but not IE.
Now works in FF but not IE... This is what code looks like.
div#dropMenu {
position:relative;
width: 100%;
height: 25px;
margin-top: -10.99px;
margin-bottom: .19px;
text-align:center;
z-index: 1000;
font-family: Lucida Sans;
}
Any suggestions on how to get IE to work?
Thanks, Kim
See how in my original file, I have two width's for div#dropMenu li, and the second one starts with a *? That asterisk one is for IE only:
Code:
div#dropMenu li {
position:relative;
list-style:none;
margin:0;
float:left;
line-height:1em;
width:16.667%;
*width:16.649%;
}
So you need to add *width:7.5;
to your div #dropMenu li. Or something like that, basically IE needs a slightly smaller percentage.