Re[6]: css with attribues [software]

Alan,

>> > Can a CSS property be used as the attribute in Attribute Selectors?
>> > My answer is yes.
AG> Works in Opera, Safari, Gecko, and I guess many others.

AG> <surname color="orange">Name</surname>
AG> surname[color="orange"] {color:yellow}

<html>
<style type="text/css">
  p[color="orange"] {color:green}
</style>
<body>
  <p style="color:orange">Name</p>
</body>
</html>

There is nothing green in Opera.
If i'm disunderstanding you, correct example above.



Dmitry Turin
SQL5      (5.9.1)  http://sql50.euro.ru
HTML6     (6.5.1)  http://html60.euro.ru
Unicode7  (7.2.1)  http://unicode70.euro.ru
Computer2 (2.0.2)  http://computer20.euro.ru

Received on Friday, 18 January 2008 10:38:55 UTC