IHTMLBodyElement::get_topMarginIHTMLBodyElement::get_topMargin*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLBodyElement::put_topMargin
*Next Topic: IHTMLBodyElement::put_rightMargin

IHTMLBodyElement::get_topMargin


HRESULT get_topMargin(
    VARIANT *p
);

Retrieves the margin for the top of the page and overrides the default margin.

p
Address of a VARIANT structure that receives the top margin. This property receives "" if the margin is exactly on the top edge.

See also put_topMargin

Up Top of Page


IHTMLBodyElement::put_topMargin


HRESULT put_topMargin(
    VARIANT v
);

Sets the margin for the top of the page and overrides the default margin.

v
VARIANT structure that contains either a string or numeric value specifying the top margin. If set to "", the margin will be exactly on the top edge.

See also get_topMargin


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