Re: pseudo-class suggestion

Steven Pemberton wrote:

> 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

I don't follow. 

Given this document foo.html:

<!doctype HTML system html4.dtd>
<h1 id="a123">some text</h1>
<div id="b234"><p>more text</div>
<a name="c345"><p>and yet more</a>

How would I write a stylesheet to do the right thing each time when the
document is referenced on three separate occasions as:


Chris Lilley, W3C                   
Graphics,Fonts,Stylesheets Guy    The World Wide Web Consortium              INRIA,  Projet W3C                       2004 Rt des Lucioles / BP 93
+33 (0)492 387 987 <NEW    06902 Sophia Antipolis Cedex, France

Received on Thursday, 12 March 1998 14:39:59 UTC