XML DOM CSSStyleRule Object

CSSStyleRule object

The CSSStyleRule object represents a single rule set (rule sets) in the CSS style table.

Properties of the CSSStyleRule object

selectorText
Sets or returns the text representation of the selector in the rule. For example, "h1,h2".
style
Returns the CSSStyleDeclaration object, which is the style value of the CSS selector (CSS declaration block).

Related pages

XML DOM Reference Manual:CSSRule object