Click to return to the Reusing Browser Technology home page    
IHTMLCurrentStyle::get_ma...     IHTMLCurrentStyle::get_ov...     IHTMLCurrentStyle Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLCurrentStyle::get_marginTop Method


Retrieves the current value of the marginTop property of the element, in pixels.

Syntax

HRESULT get_marginTop(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure returning the current value of the marginTop property of the element.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

get_marginBottom, get_marginLeft, get_marginRight



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.