hc98br
ISP
- Aug 14, 2003
- 46
I'm after a snippet of code that will allow me to get the attributes of a style class already defined.
For example:
Any ideas?
Thanks
Ben
For example:
Code:
<STYLE>
.myStyle {
font-size: 12px;
}
</STYLE>
<SCRIPT>
xxxxxx.myStyle.fontSize //returns 12 (or 12px)
<SCRIPT>
Any ideas?
Thanks
Ben