Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

cssRules property

Retrieves a list of all Cascading Style Sheets (CSS) rules contained within the parent object.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.