ie and cssText

J

josh

Hi, is there a way to get the rule text of a rule?

in firefox I have the property cssText of the rule object but in ie I
can only use
the property selectorText that return me the name of the
selector...but for its content?

Thanks
 
D

dhtmlkitchen

Hi, is there a way to get the rule text of a rule?

in firefox I have the property cssText of the rule object but in ie I
can only use
the property selectorText that return me the name of the
selector...but for its content?
IE thinks cssText is part of style.

Normal:
rule.cssText

IE:
rule.style.cssText
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top