Click to return to the Reusing Browser Technology home page    
IHTMLStyle::toString Meth...     IHTMLStyle2::get_accelera...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLStyle2 Interface


The IHTMLStyle2 interface provides access to additional methods of the STYLE element.

IHTMLStyle2 Methods

get_accelerator Retrieves the value of the element's accessKey property.
get_behavior Retrieves the value of the element's behavior property.
get_borderCollapse Retrieves the value of the element's borderCollapse property.
get_bottom Retrieves the value of the element's bottom property.
get_direction Retrieves the value of the element's direction property.
get_imeMode Retrieves the value of the element's imeMode property.
get_layoutGrid Retrieves the value of element's layoutGrid property.
get_layoutGridChar Retrieves the value of the element's layoutGridChar property.
get_layoutGridLine Retrieves the value of the element's layoutGridLine property.
get_layoutGridMode Retrieves the value of the element's layoutGridMode property.
get_layoutGridType Retrieves the value of the element's layoutGridType property.
get_lineBreak Retrieves the value of the element's lineBreak property.
get_overflowX Retrieves the value of the element's overflowX property along the X axis.
get_overflowY Retrieves the value of the element's overflowY property along the Y axis.
get_pixelBottom Retrieves the value of the element's pixelBottom property.
get_pixelRight Retrieves the value of the element's pixelRight property.
get_posBottom Retrieves the value of the element's posBottom property.
get_position Retrieves the value of the element's position property.
get_posRight Retrieves the value of the element's posRight property.
get_right Retrieves the value of the element's right property.
get_rubyAlign Retrieves the value of the element's rubyAlign property.
get_rubyOverhang Retrieves the value of the element's rubyOverhang property.
get_rubyPosition Retrieves the value of the element's rubyPosition property.
get_tableLayout Retrieves the value of the element's tableLayout property.
get_textAutospace Retrieves the value of the element's textAutospace property.
get_textJustify Retrieves the value of the element's textJustify property.
get_unicodeBidi Retrieves the value of the element's unicodeBidi (unicode Bi-directional) property.
get_wordBreak Retrieves the value of the element's wordBreak property.
getExpression Retrieves the expression for the given property.
put_accelerator Sets the value of the element's accessKey property.
put_behavior Sets the value of the element's behavior property.
put_borderCollapse Sets the value of the element's borderCollapse property.
put_bottom Sets the value of the element's bottom property.
put_direction Sets the value of the element's direction property.
put_imeMode Sets the value of the element's imeMode property.
put_layoutGrid Sets the value of element's layoutGrid property.
put_layoutGridChar Sets the value of the element's layoutGridChar property.
put_layoutGridLine Sets the value of the element's layoutGridLine property.
put_layoutGridMode Sets the value of the element's layoutGridMode property.
put_layoutGridType Sets the value of the element's layoutGridType property.
put_lineBreak Sets the value of the element's lineBreak property.
put_overflowX Sets the value of the element's overflowX property along the X axis.
put_overflowY Sets the value of the element's overflowY property along the Y axis.
put_pixelBottom Sets the value of the element's pixelBottom property.
put_pixelRight Sets the value of the element's pixelRight property.
put_posBottom Sets the value of the element's posBottom property.
put_position Sets the value of the element's position property.
put_posRight Sets the value of the element's posRight property.
put_right Sets the value of the element's right property.
put_rubyAlign Sets the value of the element's rubyAlign property.
put_rubyOverhang Sets the value of the element's rubyOverhang property.
put_rubyPosition Sets the value of the element's rubyPosition property.
put_tableLayout Sets the value of the element's tableLayout property.
put_textAutospace Sets the value of the element's textAutospace property.
put_textJustify Sets the value of the element's textJustify property.
put_unicodeBidi Sets the value of the element's unicodeBidi (unicode Bi-directional) property.
put_wordBreak Sets the value of the element's wordBreak property.
removeExpression Retrieves the expression for the given property.
setExpression Sets an expression for an element object.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

A STYLE element represents the current settings of all possible inline styles for a given element. These settings typically are applied directly to individual HTML elements using the STYLE attribute.

The STYLE element does not give access to the style assignments in style sheets. Use the IHTMLStyleSheetsCollection interface to gain access to the individual style sheets defined in the document.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.