Hope someone can help with this, but I haven’t quite got a navbar working as it should using CSS.
I have a version working using tables which is here :
And this is the CSS version as it currently stands :
The problems being the navlist doesn’t seem to sit in the navcontainer, and the list items have a gap to their left.
The CSS currently looks like :
#navcontainer ul
{
padding: 0;
margin: 0;
background-color: #876220;
color: White;
width: 100%;
height: 17px;
font-family: tahoma, arial, helvetica, sans-serif;
font-size: 11px;
}
#navcontainer ul li { display: inline; }
#navcontainer ul li a
{
padding: 0.2em 1em;
background-color: #876220;
color: White;
text-decoration: none;
border-right: 1px solid #fff;
}
#navcontainer ul li a:hover
{
background-color: #005324;
color: #fff;
}
#wrapper img {display:block; border: 0px; padding: 0px;}
#navlist {border: 0px; padding: 0px;}
Hopefully the site isn’t so complicated that it will really suffer using tables, but I guess the mantra is to use CSS as much as possible, so having it so close it would be good to crack it!
Cheers,
Iain