- From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
- Date: Mon, 28 Jul 1997 15:54:06 +0200 (MET)
- To: Stuart Harris <sirrah@baluga.maximumaccess.com>, www-style@w3.org
On Jul 26, 8:21am, Stuart Harris wrote:
> I'm beginning to find the needs of Dynamic HTML are forcing me to write
> repetitive style statements
> It would be convenient to have accepted notation for defining all four
> (or however many) at once. I can't find any such notation in the current
> CSS docs, so I propose that it be considered for a future version.
> Perhaps something such as...
>
> #player1pic;
> #player2pic;
> #player3pic;
> #player4pic;
> {
> position: absolute; top: 5; left: 300; visibility: hidden;
> }
There already is a notation for assigning the same declarations to a bunch of
different selectors [1]. In your example
#player1pic,
#player2pic,
#player3pic,
#player4pic
{
position: absolute; top: 5; left: 300; visibility: hidden;
}
[1] http://www.w3.org/TR/REC-CSS1#grouping
--
Chris Lilley, W3C [ http://www.w3.org/ ]
Graphics and Fonts 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)4 93 65 79 87 06902 Sophia Antipolis Cedex, France
Received on Monday, 28 July 1997 09:57:42 UTC