Name
rule — NN n/a IE 4 DOM n/a
Synopsis
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)
Properties
|
|
|
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.