Hi all,

I'm new to this forum and relatively new to CSS-based web design, so please
excuse my newb-ness over the following days/weeks/etc.

I'm trying to find a way to style the navigation links in a document that
will highlight the page that the user is on, and do it in such a way that I
don't have to hand-code every page. Thus far, I've used:

<ul>
<li id="current"><a href="#">Link 1</a></li>
<li><a href="page2.html">Link 2</a></li>
<li><a href="page3.html">Link 3</a></li>
<li><a href="page4.html">Link 4</a></li>
</ul>

and styled #current to make the link stand out. It works, but there _has_ to
be a better way than doing this for every nav menu in every page in a
website.

Can anyone help me out? I'd appreciate it; thanks!

Regards,

Stephen Carrell



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to