Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

IHTMLStyleElement interface

This interface specifies the style sheet for the page.

Members

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

Properties

The IHTMLStyleElement interface has these properties.

PropertyDescription

disabled

Sets or retrieves a value that indicates whether the user can interact with the object.

media

Sets or retrieves the media type.

onload

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object.

readyState

Retrieves a value that indicates the current state of the object.

styleSheet

Note  For the style element, IHTMLStyleElement::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.

type

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

 

Remarks

The style element can be used only within either the head or body element.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.