Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IHTMLStyleSheet4
Collapse the table of content
Expand the table of content

IHTMLStyleSheet4 interface

This interface extends the IHTMLStyleSheet, IHTMLStyleSheet2, and IHTMLStyleSheet3 interfaces for Windows Internet Explorer 9.

Members

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

Methods

The IHTMLStyleSheet4 interface has these methods.

MethodDescription
deleteRule

Deletes a rule from the style sheet.

insertRule

Inserts a new rule into the style sheet.

 

Properties

The IHTMLStyleSheet4 interface has these properties.

PropertyDescription

cssRules

Retrieves a list of all CSS rules contained within the parent object.

href

Sets or retrieves the URL of the linked style sheet.

media

Sets or retrieves the media type.

ownerNode

Retrieves the node that associates this style sheet with the document.

ownerRule

Retrieves a value that indicates whether this style sheet comes from an @import rule or a link (an element or processing instruction).

title

Sets or retrieves the title of the style sheet.

type

Retrieves the CSS language in which the style sheet is written.

 

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

See also

IDispatch

 

 

Community Additions

ADD
Show:
© 2015 Microsoft