Export (0) Print
Expand All

IHTMLCSSRule interface

This interface is the abstract base interface for any type of Cascading Style Sheets (CSS) statement (including both rule sets and at-rules). Windows Internet Explorer preserves all rules specified in a CSS style sheet, even if the rule is not recognized by the parser.

Members

The IHTMLCSSRule interface inherits from the IDispatch interface. IHTMLCSSRule also has these types of members:

Properties

The IHTMLCSSRule interface has these properties.

PropertyAccess typeDescription

cssText

Read/write

Sets or retrieves the persisted representation of the style rule.

parentRule

Retrieves the containing rule, if the current rule is contained inside another rule.

parentStyleSheet

Retrieves the style sheet that contains the current rule.

type

Retrieves the type of the rule.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft