Gavin,
You want to be able to identify the current page with a distinctive background for the appropriate list item?
Here's a site on which it works well. Take a look at the code at the bottom of the site's style sheet.
In the body id code for each HTML page he names the current page/area of the site, which triggers a background inside the appropriate <a> tag (by calling on the appropriate a#mnu style for that page).
http://www.wasabicube.com/ http://www.wasabicube.com/s/wc.css
Hope this helps.
-Hugh Todd
Now i want to highlight the current page using a different CSS style. I have
tried all sorts of combinations, and in this example i have an
ID="thisquestion" on the relevant <li> and a class="thisquestionlink" on the
<a href> inside the <li>.
It just wont seem to style for me. I want to have a different Background
color etc on it.
Can someone please help me with this simple question?
http://www4.boardofstudies.nsw.edu.au/wsg_test/
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************
