A CSS rule is an object of a StyleSheet object that allows you to access and modify individual style sheet rules.
IE and Firefox are different when implementing a CSS Rule object, although, fortunately, the difference is mainly in the syntax:
document.styleSheets [0] .cssRules [0] // access to the first rule in Firefox document.styleSheets [0] .rules [0] // access to the first rule in IE Win
As already mentioned, IE and Firefox rely on two different CSS Rule objects to access style sheet rules. Two objects are listed below:

spiritsree
source share