How about this?
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<html><head><title>Google Tabs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
#navlist ul
{
margin: 0;
padding: 0;
}
#navlist li
{
display: inline;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
border-bottom: 1px solid #3366cc;
padding:0 10px;
margin: 0 -5px;
}
#navlist a {padding: 2px 10px 0; font-size:12px; }
#navlist a:link, #navlist a:visited
{
color: #0000cc;
background-color: #efefef;
text-decoration: none;
}
#navlist a:hover
{
color: #00C;
background-color: #EFEFEF;
text-decoration: none;
}
#navcontainer
{
text-align: center;
padding: 0px 0px;
}
-->
</style>
</head><body>
<center>|</center>
<div id="navcontainer">
<ul id="navlist">
<li><a href="reading.html" title="Reading">Reading</a></li>
<li><a href="math.html" title="Math">Math</a></li>
<li><a href="scitech.html" title="Science and Technology">Science</a></li>
<li><a href="enviro.html" title="Environment and Ecology">Environment</a></li>
<li><a href="candg.html" title="Civics and Government">Civics</a></li>
<li><a href="econ.html" title="Economics">Economics</a></li>
</ul>
</div>
</body>
</html>
BTW: If you setup your CSS with # rather than . you should only have one of them in the page i think.
Bookmarks