IHTMLStyle::get_marginLeftIHTMLStyle::get_marginLeft*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_marginBottom
*Next Topic: IHTMLStyle::get_marginRight

IHTMLStyle::get_marginLeft


HRESULT get_marginLeft(
    VARIANT *p 
);

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

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

See also put_marginLeft

Up Top of Page


IHTMLStyle::put_marginLeft


HRESULT put_marginLeft( 
    VARIANT v 
);

Sets the value of the CSS margin-left attribute for the element. The attribute determines the width of the left margin for the element.

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

See also get_marginLeft


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