- From: Chris Lilley <chris@w3.org>
- Date: Thu, 12 Mar 1998 20:40:10 +0100
- To: Steven Pemberton <Steven.Pemberton@cwi.nl>
- CC: roconnor@uwaterloo.ca, www-style@w3.org
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> <title>foo</title> <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: foo.html#a123 foo.html#b234 foo.html#c345 -- Chris Lilley, W3C http://www.w3.org/ Graphics,Fonts,Stylesheets Guy The World Wide Web Consortium http://www.w3.org/people/chris/ INRIA, Projet W3C chris@w3.org 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