Home › Forums › CSS › CSS alignment issue. IE only. A little help? › Re: CSS alignment issue. IE only. A little help?
February 26, 2011 at 11:21 am
#58060
drake
Member
– ul tag is a block element so there is no need to use an enclosing div.
ul {
list-style:none;
overflow:hidden;
zoom:1;
margin:0 25px;
font:normal 14px/45px arial,helvetica,sans-serif;
background:url(images/menubar.png) 0 0 repeat-x;
padding: 0 30px;
}
– don’t add style to the li tags, just display inline
– use padding and margins on the tags to position the menu items within the menubar and float them left