W3C home > Mailing lists > Public > www-style@w3.org > October 2006

Re: [selectors] New pseudo-class proposal: ":current"

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Sun, 22 Oct 2006 16:40:19 +0200
Message-Id: <D82286C0-B718-485A-86A8-7E92C2B3D8DD@crissov.de>
Cc: W3C CSS <www-style@w3.org>
To: Matthew Raymond <mattraymond@earthlink.net>

Matthew Raymond, 2006-10-12:

>    If you have a list of hyperlinks you're using for navigating a
> website, and this list is identical for all pages, you'll want to
> indicate which link points to the current page.

Most elegantly you use a |href|-less |a|.
Links inside the TOC of the page to anchors inside the current page  
are easily matched by "[href^='#]'" (in CSS 3).
Received on Sunday, 22 October 2006 14:40:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT