W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: extra pseudo-class for anchors

From: Jens Meiert <jens.meiert@erde3.com>
Date: Fri, 9 Jan 2004 12:34:57 +0100 (MET)
To: www-style@w3.org
Message-ID: <19199.1073648097@www65.gmx.net>

> > "a:local" would be handy too for internal links.

Isn't it absolutely sufficient to use either a selector like

    a[href^='#']

to match local fragment identifiers, or to go the other way around by e.g.
assigning alternative declarations to anchors pointing to external resources:

    a[href^='http://']

(assuming you use relative references to documents on your server)? -- I
don't see the inalienable necessity for such a pseudo-class.


Best regards,
 Jens.


-- 
Jens Meiert
Interface Architect

http://meiert.com/
Received on Friday, 9 January 2004 06:37:50 GMT

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