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

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