> I want the link for the currently displayed page to be quite different
> from the other links and static to clearly indicate the page the reader
> is on. I have read in Eric Myer on CSS, how to do this for one page -
> give the link an id and add a style for the a#id. I can't see how to get
> this to work on a whole site. Would this a#id style have to be on each
> page and not in the main css document?
> I hope someone can clear this up for me or point me to a reference. Thanks.

You do it with an ID or class on the body and an ID on each link in
the navigation:
http://www.hicksdesign.co.uk/journal/highlighting-current-page-with-css.
However, basic usability tells you that the current page just should
not be a link - why should it link to itself? If you create a menu
where the current page is a STRONG instead of an A you don't have that
problem at all.


-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to