Compartir a través de


IHTMLCSSImportRule interface

Represents an @import rule within a Cascading Style Sheets (CSS) style sheet. The @import rule is used to import style rules from other style sheets.

Members

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

  • Properties

Properties

The IHTMLCSSImportRule interface has these properties.

Property Description

href

Retrieves the location of the style sheet to be imported.

media

Sets or retrieves a list of media types for which this style sheet is used.

styleSheet

Note  For the style element, IHTMLCSSImportRule::styleSheet is no longer supported. Starting with IE11, use IHTMLLinkElement5::sheet. For info, see Compatibility changes.
 

Retrieves an interface pointer that provides access to the style sheet object's properties and methods.

 

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