> Hi, > > Just say I have 4 pages on a website. When I am on a page I want the button > on that particular page to be bold and a different colour so the user know > what page they are on.
This has been discussed here to death over the last few weeks on the list: http://lists.evolt.org/archive/Week-of-Mon-20060717/thread.html#183744 It is also nothing new to this list: http://archivist.incutio.com/viewlist/css-discuss/?search=highlight+navigation Here's the short and quick of it: 1) Yes, you can highlight a certain navigation item by using an ID on the body and IDs on each of the navigation elements. (http://www.hicksdesign.co.uk/journal/highlighting-current-page-with-css) This also means that users without CSS or without YOUR CSS style sheet don't get a navigation highlight at all. 2) If you already use PHP to highlight the navigation, why not replace the current link with a STRONG element? That way you have an accessible navigation highlight as the current page does not link to itself. 3) You can automate that in PHP by comparing the navigation item HREF attribute with the current location (stored in PHP_SELF) I've done a PHP script that does the lot for you (and also adds a "parent" class to the list item containing the current one and also allows you to remove unnecessary sub-items and and and) but I am sick of plugging it here when a CSS only solution is wanted - no matter how inaccessible it may be. ______________________________________________________________________ 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/