Hi folks,
I'm trying to get a ul style menu to work in IE without having the space in between the list. IE adds a pixel or two space in between the list items.
Can you tell me of a way to get rid of that space and have the display to look the same as in FF?
Here's the code I'm using at this point:
ul {
margin:0;
padding:0;
width:150px;
font-size:12px;
background-color:#036;
list-style-type:none;
}
li.menu {
display:block;
margin:0;
padding:0;
width:150px;
height:20px;
border-bottom:1px solid #fff;
}
li.menu a:link,a:visited,a:active {
display:block;
margin:0;
padding:0;
width: 150px;
border:1px solid #fff;
height:20px;
color: #fff;
background-color: #036;
text-decoration: none;
text-align: center;
}
li.menu a:hover{
display:block;
margin:0;
border:0;
padding:0;
border:1px solid #fff;
width:150px;
height:20px;
color:#000;
background-color:#fff;
text-decoration:underline;
text-align:center;
}
Thanks a bundle for your input
Youth and beauty are no match for age and experience.
I'm trying to get a ul style menu to work in IE without having the space in between the list. IE adds a pixel or two space in between the list items.
Can you tell me of a way to get rid of that space and have the display to look the same as in FF?
Here's the code I'm using at this point:
ul {
margin:0;
padding:0;
width:150px;
font-size:12px;
background-color:#036;
list-style-type:none;
}
li.menu {
display:block;
margin:0;
padding:0;
width:150px;
height:20px;
border-bottom:1px solid #fff;
}
li.menu a:link,a:visited,a:active {
display:block;
margin:0;
padding:0;
width: 150px;
border:1px solid #fff;
height:20px;
color: #fff;
background-color: #036;
text-decoration: none;
text-align: center;
}
li.menu a:hover{
display:block;
margin:0;
border:0;
padding:0;
border:1px solid #fff;
width:150px;
height:20px;
color:#000;
background-color:#fff;
text-decoration:underline;
text-align:center;
}
Thanks a bundle for your input
Youth and beauty are no match for age and experience.