Name

rules[ ] — NN n/a IE 4 DOM n/a

Synopsis

An array of all rules defined or imported for a styleSheet object. All properties of the rule object can be inspected for each item returned from the rules[] collection.

Syntax

document.styleSheets(i).rules(j).objectPropertyOrMethod
                     

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.