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

Re: assigning classes to IDs

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Mon, 01 Nov 2004 16:00:07 +0100
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <opsgsjyhgtofh7fl@crissov>

Mike Sadka <M.Sadka@nhm.ac.uk>:
>
> ..class1 { RULES }
> ..class2 { RULES }
> ..class3 { RULES }
>
> #object1 {
> 	.class1
> 	.class2
> }
> #object2 {
> 	.class1
> 	.class3
> }

I fail to see the huge advantage over the existing possibility:

    .class1, #object1, #object2 { RULES }
    .class2, #object1           { RULES }
    .class3,           #object2 { RULES }

or maybe

    #object1, .class1, .class2 { RULES }
    #object2, .class1, .class3 { RULES }
Received on Monday, 1 November 2004 15:33:25 GMT

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