> Is there a CSS method to hide the current page link in a navigation
 > list?  ie: if you're on the "widgets" page, you don't get the "See our
 > crazy widgets!" link in the menu.
 > I'm responsible for looking after a static HTML  site that has  had
 > more and more pages added to it over the years, and changing the
 > navigation on each page is becoming a chore.
 > I know how to do includes, I'd just like to hide the current page link..

hi Val,

Try this bit of style, which I cribbed off
http://www.askthecssguy.com/2006/12/showing_hyperlink_cues_with_cs_1.html

it needs to go in the head of the page you are on, and use that page 
name for yourcurrentpage.html

<style type="text/css">
<!--
#links a[href~="yourcurrentpage.html"] {
position : absolute;
top : -1000px;
width:1px;
height:1px;
overflow:hidden;
}
-->
</style>

good luck!
Sandy



______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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