Just starting on a site for a friend - very early stages but I'm working on the top menu navigation and hit a snag. I want a horizontal menu and want all the links/nav buttons to be same width. I have managed this easily enough in Vertical menus and have done it horizontally by adding spacing in to pad out the links with shorter anchor text, but this seems messy and I can't work out how to control the width. the CSS is:
CODE
#topnav
{
margin-left:180px;
width: 600px;
height:30px;
color:white;
}
#topnav ul
{
}
#topnav li
{
list-style-type:none;
display:inline;
margin-bottom:20px;
}
#topnav a
{
font-weight:bolder;
padding:5px;
width:75px;
height:30px;
color:#dab870;
text-decoration:none;
}
{
margin-left:180px;
width: 600px;
height:30px;
color:white;
}
#topnav ul
{
}
#topnav li
{
list-style-type:none;
display:inline;
margin-bottom:20px;
}
#topnav a
{
font-weight:bolder;
padding:5px;
width:75px;
height:30px;
color:#dab870;
text-decoration:none;
}
and the code is
CODE
<div id="topnav">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Music</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Photo's</a></li>
<li><a href="#">Guestbook</a></li>
</ul>
</div>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Music</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Photo's</a></li>
<li><a href="#">Guestbook</a></li>
</ul>
</div>
Can anyone help?
Page I'm working on is: its-our-place.co.uk/walkerhughes/default.aspx and you wll be able to see the navigation at the top of the page.
Cheers
Andy









