IHTMLStyle::get_marginTopIHTMLStyle::get_marginTop*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_marginRight
*Next Topic: IHTMLStyle::get_overflow

IHTMLStyle::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


IHTMLStyle::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.