IHTMLStyle::get_marginRightIHTMLStyle::get_marginRight*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_marginLeft
*Next Topic: IHTMLStyle::get_marginTop

IHTMLStyle::get_marginRight


HRESULT get_marginRight( 
    VARIANT *p 
);

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

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

See also put_marginRight

Up Top of Page


IHTMLStyle::put_marginRight


HRESULT put_marginRight(
    VARIANT v 
);

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

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

See also get_marginRight


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