Contents Index Topic Contents | ||
Previous Topic: IHTMLSpanFlow::get_align Next Topic: IHTMLStyle::get_background |
IHTMLStyle
This interface provides access to the methods that are returned when you access the style object. A style object represents the current settings of all possible inline styles for a given element. Inline styles are CSS style assignments that an author applies directly to individual HTML elements using the STYLE attribute. You use the style object to examine these assignments and either make new assignments or change existing ones.
You retrieve the style object by using the IHTMLElement::get_style function. You retrieve the current setting for an inline style by calling member functions of the style object.
The style object does not give access to the style assignments in style sheets. To obtain information about styles in style sheets, you must use the IHTMLStyleSheetsCollection interface to gain access to the individual style sheets defined in the document.
IHTMLStyle Methods
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.