IHTMLStyle::get_zIndexIHTMLStyle::get_zIndex*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_wordSpacing
*Next Topic: IHTMLStyle::getAttribute

IHTMLStyle::get_zIndex


HRESULT get_zIndex(
    VARIANT *p 
);

Retrieves the value of the CSS z-index attribute for the element.

p
Address of a variable that receives the z-index. The variable receives a positive value if the element is positioned above the text, and a negative value if it is below. See z-index for details. The variable receives NULL if the attribute is not set.

See also put_zIndex

Up Top of Page


IHTMLStyle::put_zIndex


HRESULT put_zIndex(
    VARIANT v 
);

Sets the value of the CSS z-index attribute for the element. The attribute determines whether the element is positioned above or below the text.

v
String or value specifying the z-index. A positive value positions the element above the text, and a negative value positions it below. See z-index for details. Set this parameter to NULL to remove the attribute.

See also get_zIndex


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.