Compartir a través de


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

Properties

The IHTMLCSSRule interface has these properties.

Property Access type Description

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

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch