Javascript Reference
Categories: cssRules

javascript cssRules Description

@March 15, 2008, 1:22 a.m.
cssRules, CSSRuleList, rulesFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2  


A collection of cssRule (Netscape 6 and IE 5/Mac) or rule (IE 4 and later) objects that are members of a styleSheet object. The W3C DOM abstract representation of this collection is called a CSSRuleList object. Members of this collection are accessed only via their integer index number, but you may iterate through the collection and examine properties of each rule object (such as the selectorText property) to distinguish one rule from another.

Object Model Reference
IE (Windows)


NN and IE (Mac)


Object-Specific Properties
Object-Specific Methods
item( )
Object-Specific Event Handler Properties


Powered by Linode.