W3C home > Mailing lists > Public > www-style@w3.org > January 2008

RE: Re[2]: css with attribues [software]

From: Alan Gresley <alan1@azzurum.com>
Date: Thu, 17 Jan 2008 06:35:50 -0700
To: Dmitry Turin <sql4-en@narod.ru>
cc: www-style@w3.org
Message-ID: <20080117063550.34b83c2f3c9bef00757a2c62c0fb7450.778faaa6e7.wbe@email.secureserver.net>

Dmitry Turin wrote:

> No.
> We speak about admissibility of merging attributes and properties
> into single space, and possibility to specify them both in tags
> (without 'style=') and in CSS-file.

Now I think I'm following at last, you want to allow this.

<div float="left">
<name color="red">Name</name>
<surname color="blue">Name</surname>
<name color="green">Name</name>
<surname color="orange">Name</surname>
</div>

with this CSS

div[float="left"] {float:none}
name[color="red"] {color:pink}
surname[color="blue"] {color:aqua}
name[color="green"] {color:lime}
surname[color="orange"] {color:yellow}


Alan

http://css-class.com/
Received on Thursday, 17 January 2008 13:36:06 GMT

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