[thelist] A List using display: block adds padding in IE?

Justin Zachan Mgmt justin at jazzmanagement.com.au
Wed Jan 19 02:23:57 CST 2005


Hi there. I am using a list with links in HTML/CSS and using display: block

i.e
#mainmenu a {
color:#000;
display: block;
padding: 7px 0px 7px 15px;
background-color: #FFF;
text-decoration:none;
}

The problem I have is that IE seems to be putting some padding after each
list item but Netscape/Firefox does not.

Does anyone know how I can get the list in IE to have no padding etc...

Thanks in advance

Cheers

Justin



More information about the thelist mailing list