> ----- Original Message ----- > From: Stephen Carrell [...] > > 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 tour > 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. > On Tue, 5 Aug 2008 18:39:23 +0100, Alan K Baker replied: > Hi Stephen. > > AFAIK there's no simple way around putting a common nav bar on every page, > other than > by the use of Frames, which I wouldn't recommend. >
Bobby Jack gave the technique for highlighting the "you are here" link. Addressing a possible solution for adding a common nav bar on every page, if your host allows it, investigate server-side includes (SSI): <http://httpd.apache.org/docs/2.0/howto/ssi.html> Cordially, David -- ______________________________________________________________________ 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/