ruleNN n/a   IE 4   DOM n/a

A rule object contains the combination of selector and style attribute/value pairs defined within a style sheet. While you can obtain the selector directly as a property, a script cannot quickly derive the style attributes or values assigned in the rule without iterating through all style attributes.

 
 
Object Model Reference
IE document.all.styleSheetID.rules(i)
readOnlyNN n/a   IE 4   DOM n/a
 Read-only
 

Whether the style sheet (and thus the rules therein) can be modified under script control. Style sheets imported through a LINK element or an @import rule cannot be modified, so they return a value of true.

 
Value
Boolean value: true | false.
 
Default false
selectorTextNN n/a   IE 4   DOM n/a
 Read-only
 

Returns the selector defined for the rule.

 
Value
String
 
Default None.