By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,659 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,659 IT Pros & Developers. It's quick & easy.

ie and cssText

P: n/a
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
Jan 8 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Jan 8, 3:27 am, josh <xdevel1...@gmail.comwrote:
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

Thanks
Jan 8 '08 #2

P: n/a
On 9 Gen, 00:10, "dhtmlkitc...@gmail.com" <dhtmlkitc...@gmail.com>
wrote:
On Jan 8, 3:27 am, josh <xdevel1...@gmail.comwrote: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
Thanks
Thanks it works well!
Jan 9 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.