Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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 cascading style sheet (CSS) assignments that an author applies directly to individual HTML elements using the IHTMLStyle 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. You can use the IHTMLStyleSheetsCollection interface to gain access to the individual style sheets defined in the document.
IHTMLStyle Methods
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.