IHTMLRuleStyle::get_marginLeftIHTMLRuleStyle::get_marginLeft*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_marginLeft
*Next Topic: IHTMLRuleStyle::put_margin

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


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