cssRules property
Retrieves a list of all Cascading Style Sheets (CSS) rules contained within the parent object.
Syntax
HRESULT value = object.get_cssRules(IHTMLStyleSheetRulesCollection** p);
Property values
Type: Object
a list of all CSS rules contained within the parent object.
Standards information
Remarks
The list retrieved includes both rule sets (selectors and declaration blocks) and at-rules.
Rules are returned in the same order as they are listed in the parent object. Rules that were dropped during parsing (for instance, because of syntax errors) are not included. However, rules that use a selector or property that Windows Internet Explorer does not recognize are included in the list.