- 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
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 UTC