Dudsmack
12-05-2003, 04:46 PM
<head><style>
#myStyle { myNewProperty: test; } </style>
..and let us say i later assing a div to this...can i access this made up property?
David Harrison
12-05-2003, 05:46 PM
If you are talking about applying a general rule like text-decoration:underline; then yes you can apply that to any element so long as you only do it once, as you have used # (the symbol for only applying styles to an element with that ID).
If on the other hand you are talking about creating a completely new property then no, you cannot do this with CSS, this sounds like more of a job for XML. I can't help you with that though, luckily there's a whole forum for that though.