Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: siliconbritPosted on 2007-05-21 at 09:03:57ID: 19127781
I'd really need a look at your code to be able to tell you.
rtise</a>< /li> ces</a></l i> cts</a></l i> y</a></li> t</a></li>
Take a look at the following code that I have used to do something similar. I've cut and paste this from source, and hope to have included everything you might need, so you may be able to drop this into a couple of files on a test server somewhere and see how it works. If not, let me know and I'll send a URL. Just in a bit of a rush right now, so can't come back here for an hour or so.
HTML:
<div id="header">
<ul id="navlist">
<li id="active"><a href="index.html" id="current">Home</a></li>
<li><a href="expertise.html">Expe
<li><a href="services.html">Servi
<li><a href="products.html">Produ
<li><a href="library.html">Librar
<li><a href="aboutus.html">About Us</a></li>
<li><a href="contact.html">Contac
</ul>
</div>
CSS:
body {
height: 100%;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
color: #313031;
font-size: 8pt;
}
#header {
width: 746px;
height: 40px;
border-bottom: 1pt solid #ede8c4
}
#navlist
{
position:relative; margin:0; padding-left: 204px; top:24px; visibility: visible;
}
#navlist li
{
font-size: 9pt;
list-style: none;
margin: 0px;
border-bottom: none;
display: inline;
}
#navlist li a
{
padding: 3px 0.5em;
margin-left: 1px;
border-bottom: none;
border: 1px solid #ede8c4;
background: #ede8c4;
text-decoration: none;
}
#navlist li a:link { border-bottom: medium none;color: #827b17; }
#navlist li a:visited { border-bottom: medium none;color: #827b17; }
#navlist li a:hover
{
border-bottom: none;
color: #e77b1e;
background: #fdf0e4;
border-color: #827b17;
}
#navlist li a#current
{
background: white;
border-bottom: 1px solid white;
}