> Sandy wrote:
>
>> #links a[href~="yourcurrentpage.html"] {
>
> This means that you would need a different style sheet, with a different URL
> there, for each and every page. I don't see how this could be any easier or
> otherwise better than simply having, say,
>
> <a href="..." class="current">...</a>
>
> for each current-page link or, better still (for current-page links in
> navigation)
>
> <a class="current">...</a>
>
> so that the current-page link ain't no link but can be styled along with
> other <a> elements but so that it does not look like a link but like a "here
> you are now" designator.
>
Not a whole different style sheet, just that little bit in the head of
each page. I think it's actually about the same amount of work as adding
class="current" to the current page on an html page.
The advantage of this approach is if you are using includes - the menu
can be included and the current page addressed on that page.
Sandy
______________________________________________________________________
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/