- From: <JeanMichel.Leclercq@electrabel.com>
- Date: Tue, 31 Jul 2001 10:31:39 +0200
- To: www-style@w3c.org
In your previous css example, you had: [...] h1, h2, h3 {text-align: center;} [...] which becomes in xcss: <selector element="h1" class="" pseudo=""> <property name="text-align" value="center"/> </selector> <selector element="h2" class="" pseudo=""> <property name="text-align" value="center"/> </selector> <selector element="h3" class="" pseudo=""> <property name="text-align" value="center"/> </selector> I think that in this case, it would be better to keep the way of thinking about grouping elements. Then, I would propose an alternative: <selector> <element name="h1" pseudo=""/> <element name="h2" pseudo=""/> <element name="h3" pseudo=""/> <property name="text-align" value="center"/> </selector> Each element will be associated with the set of <property> specified in a <selector>. What do you think about ? /JM.
Received on Tuesday, 31 July 2001 04:33:32 UTC