HTML:
<html>
...
<div class="myClass"/>
...
</html>
CSS:
.myClass { myAttribute: myValue; }
???
Thanks,
D.Barisch
> Is it possible to add non-standard-html-attributes to html-elements
> with a css-definition
AFAIK, no. But you can assign variables to tags themselves, as such:
<input type=button SecretMessage="Wow, this worked!" value="Click Me"
onclick="alert(this.SecretMessage);this.SecretMessage='This worked
too!';alert(this.SecretMessage)">
It only half-works in Netscape.
You can see a practical use for this at
http://www.mcnair.nu/test/MouseTools/