W3C home > Mailing lists > Public > www-style@w3.org > April 2003

Re: :here for Links

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 1 Apr 2003 07:22:15 +0100 (BST)
Message-Id: <200304010622.h316MFR01140@djwhome.demon.co.uk>
To: www-style@w3.org

> 
> 
> > I'm not sure if it's an idea which has been brought up yet, but I think
> > it would be useful to have a pseudo element called :here or something
> > similar.  The purpose is to select only hypertext links link point to
> > the current page.  This way, web developers don't have to go to the
> > navigation device on every page and make the links have special
> > classes or anything like that.
> 
> This is definately needed because the need for it is ubiquitous
> (everywhere). Surely, most of you are aware that a great many web sites
> have the current page styled differently in menus to show where you are.

This is not, possible in the general case, as pages can have multiple 
addresses, but the browser will only know, at most, the address used in
the request and the address returned in the Location header.  Whilst the
latter is likely to be the official address of the actual variant used
(give or take broken servers), one would expect addresses in pages to
be those prior to content-negotiation, so the Location header value
may be of little use.
Received on Tuesday, 1 April 2003 01:23:07 GMT

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