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

Forum statistics

Threads
474,338
Messages
2,571,770
Members
48,562
Latest member
FelipaLavo

Latest Threads

Top