IHTMLStyle::get_topIHTMLStyle::get_top*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_textTransform
*Next Topic: IHTMLStyle::get_verticalAlign

IHTMLStyle::get_top


HRESULT get_top(
    VARIANT *p 
);

Retrieves the value of the CSS top attribute for the element.

p
Address of a variable that receives the value of the attribute. The value is a string consisting of a floating-point number and a units designator. See top for details. The variable receives NULL if the attribute is not set.

See also put_top

Up Top of Page


IHTMLStyle::put_top


HRESULT put_top(
    VARIANT v 
);

Sets the value of the CSS top attribute for the element. The attribute determines the top position of the element.

v
String or value consisting of a floating-point number and a units designator. See top for details. Set this parameter to NULL to remove the attribute.

See also get_top


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