Forum Moderators: not2easy
CSS
#navlist li {
display:inline;
list-style-type:none;
width:500px;
}
/////////////
HTML
<body>
<ul id="navlist">
<li><a href="http://www.mysite.com">Link 1</a></li>
<li><a href="http://www.mysite.com">Link 2</a></li>
<li><a href="http://www.mysite.com">Link 3</a></li>
<li><a href="http://www.mysite.com">Link 4</a></li>
</ul>
</body>
I would like my horizontal list to be 500px wide and each link with space in between the other links so that they fill out the entire 500px.
Thanks for any help.
As far as I know the only safe way to fix the overall length it would be to use images instead of text links, ie.,
<a ... ><img ... ></a><a ... ><img ...></a> etc
However if somebody knows a better way of doing it I am all ears! I would love to get rid of my nav bar gifs.