Hi!
Here is a situation. I would like to align <li> inside <div> for my simple menu. The thing is that I'm doing a css based menu instead of gifs on an older website (table design). I've managed to write a css (menu.css) that works perfectly in firefox but not in ie 5.5/6/7. That's why I included conditional comment for ie but the result is not quite there. I would appreciate any tips or suggestions on how to achieve the same alignment in ie as it is in Firefox. Thanks!
Here is how it looks ... URL www.pozvek-sp.si/eng/home_tst.htm
/* CSS dokument */
*{
margin:0;
padding:0;
}
#menu{
width:100%;
margin:0 0 0px 2px;
}
#menu ul{
list-style:none;
}
#menu li{
display:block;
float:left;
width: 120px;
margin:0 2 0 0px;
}
#menu ul:last-child {
margin-left: -2px;
}
#menu li a{
background: #286293 ;
border:2px solid #286293;
padding:15px 0 25px 5px;
display:block;
color:#fff;
text-decoration:none;
font-family: Arial, Helvetica, sans-serif;
font-size:13px;
font-weight:bold;
height: 28px;
margin-bottom: 2px;
}
#menu li a span{
color:#F2F5ED;
font-size:9px;
text-transform:uppercase;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
font-style:italic;
}
#menu li a:hover{
background:#5195ce;
border:2px solid #fff;
text-decoration:none;
}
#menu li a:hover span{
color:#fff;
}
Luka