Re[2]: brainstorm: attributes as virtual tags

Good day, Dão.

DG> Apparently Dmitry messed up his own example. Originally, he wanted to
DG> use different colors for different attributes.

Yes.

Illustration of idea in previous example is:
<style>
  §a1 {color: red   }
  §a2 {color: green }
  §a3 {color: brown }
</style>
<body>
  <a a1="x" a2="y" a3="z">
</body>

Illustration of idea in last example is:
<style>
  §name    {color: red  }
  §surname {color: gray }
</style>
<body>
  <record1 name= surname= >
  <record2 name= surname= >
</body>

>> Anyway, Isn't this best left up to the CSS WG?

Primarily i think about virtual tags
in context of 'display', 'appearance'.
I will do as you say.


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru

Received on Tuesday, 22 May 2007 13:13:14 UTC