'rule' Syntax and Note : rule « Javascript Objects « JavaScript Reference

'rule' Syntax and Note

Note:

Affect a specific rule in a style sheet. 
You can only access the rule object by referencing the desired index in the 
rules collection.
    
Syntax:
    
document.styleSheets(index1).rules(index2).memberName

    

      
      








Related examples in the same category

1.'rule' Example
2.'rule' JavaScript Properties
3.'rule' JavaScript Objects
4.'rule' is applied to