IHTMLRuleStyle::get_topIHTMLRuleStyle::get_top*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_top
*Next Topic: IHTMLRuleStyle::put_left

IHTMLRuleStyle::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. The variable receives NULL if the attribute is not set. See top for details.

See also put_top

Up Top of Page


IHTMLRuleStyle::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. Set this parameter to NULL to remove the attribute. See top for details.

See also get_top


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