W3C home > Mailing lists > Public > www-style@w3.org > March 1998

Re: pseudo-class suggestion

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Tue, 10 Mar 1998 14:32:09 +0100 (MET)
To: roconnor@uwaterloo.ca
Cc: www-style@w3.org
Message-ID: <13573.16358.785590.929354@schoener.cwi.nl>
 > > I think that CSS should have a pseudo element for elements that have an
 > > ID of the fragment identifier of the current URL.  So if I follow a link
 > > to a specific paragraph in a piece of text, then that paragraph can be
 > > highlighted.
 > 
 > Actually this should be a pseudo-class. Sorry.

Actually, a pseudo-class is a bit heavy-weight for this, since you
could almost do it with some matching notation:

	*[ID=<whatever>] { background-color: green }

Steven Pemberton
Received on Tuesday, 10 March 1998 08:32:20 GMT

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