IHTMLRuleStyle::get_marginTopIHTMLRuleStyle::get_marginTop*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_marginTop
*Next Topic: IHTMLRuleStyle::put_marginRight

IHTMLRuleStyle::get_marginTop


HRESULT get_marginTop(
    VARIANT *p 
);

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

p
Address of a variable that receives the value of the attribute. See margin-top for details. This parameter receives NULL if the attribute is not set.

See also put_marginTop

Up Top of Page


IHTMLRuleStyle::put_marginTop


HRESULT put_marginTop(
    VARIANT v 
);

Sets the value of the CSS margin-top attribute for the element. The attribute determines the height of the top margin for the element.

v
String or value specifying the top margin. The height can be positive or negative. See margin-top for details. Set this parameter to NULL to remove the attribute.

See also get_marginTop


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