Any help with this seemingly minor issue would be much appreciated. My blog (aleheads.wordpress.com) has a nav bar under the header. Currently, the buttons are all floated to the left with a large, blank space after the Contact Us button.
I would like to have the nav buttons justified so that on any browser, the buttons simply spread themselves out evenly across the bar. If that is not possible, my second preference would be to at least have the nav bar centered on the page with equal margins on each side.
In the past, I set the padding so that the buttons fit "perfectly" across the page. Unfortunately, on some browsers (particularly Safari), the font would revert to something I didn't specify (say Helvetica) that was wider than my set choice (currently Arial). The wider font would then bump the last button down to another row. Hence why I want the buttons justified or centered...so that different browsers using different fonts won't alter the overall look.
Here is the CSS which (I believe) controls my nav bar:
#pagebar {
width:960px;
height:30px;
border-top:1px black solid;
border-bottom:1px black solid;
margin:0;
padding:0;
}
#pagebar a {
font-family:Arial, Sans-Serif;
color:#333;
font-size:1.3em;
border-left:1px #CECECE solid;
display:block;
float:left;
text-align:center;
text-transform:uppercase;
height:16px;
padding:7px 10px;
}
#pagebar a:hover {
background-color:#CECECE;
text-decoration:none;
}
#pagebar li {
list-style:none;
}
The blog I need help with is aleheads.com.