Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_zIndex Next Topic: IHTMLRuleStyle::put_overflow |
IHTMLRuleStyle::get_zIndex
HRESULT get_zIndex( VARIANT *p );Retrieves the value of the CSS z-index attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- 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. The variable receives NULL if the attribute is not set. See z-index for details.
See also put_zIndex
IHTMLRuleStyle::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.
- Returns S_OK if successful, or an error value otherwise.
- v
- String or value specifying the z-index. A positive value positions the element above the text, and a negative value positions it below. Set this parameter to NULL to remove the attribute. See z-index for details.
See also get_zIndex
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.