Hi, I am using a list to diplay a series of links. I have styled a list and have it positioned on the bottom of a div however there seems to be bottom padding on the list items (<li>'s) that I can't get rid of. I want the bottom of the list items (images) on the bottom of the div. The code is:
Then the HTML:
Any ideas????
Code:
#topnav {
position: absolute;
text-align:right;
padding: 71px 15px 0 0;
margin: 0 0 0 198px;
top:0;
width:536px;
height:28px;
z-index:50;
background-image: url(images/topnavback.gif);
}
#topnav ul {
list-style-type:none;
margin:0 0 0 130px;
padding:0;
}
#topnav ul li{
display: block;
margin: 0;
padding: 0;
float: left;
width: auto;
}
Then the HTML:
Code:
<div id="topnav">
<ul>
<li><a href="default.asp"><img src="images/navh.gif" name="navh" width="55" height="24" border="0" id="navh" /></a></li>
<li><a href="about.asp"><img src="images/nava.gif" name="nava" width="69" height="24" border="0" id="nava" /></a></li>
<li><a href="tech.asp"><img src="images/navt.gif" name="navt" width="124" height="24" border="0" id="navt" /></a></li>
<li><a href="news.asp"><img src="images/navn.gif" name="navn" width="97" height="24" border="0" id="navn" /></a></li>
<li><a href="contact.asp"><img src="images/navc.gif" width="58" height="24" border="0" id="navc" /></a></li>
</ul>
</div>
Any ideas????