Click to return to the DHTML, HTML     
left Property     length Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

LEFTMARGIN Attribute | leftMargin Property


Sets or retrieves the left margin for the entire body of the page, overriding the default margin.

Syntax

HTML<BODY LEFTMARGIN = sMargin ... >
Scriptingbody.leftMargin [ = sMargin ]

Possible Values

sMarginString that specifies the left margin, in pixels.

The property is read/write with a default value of 10.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

Remarks

If the value is an empty string, the left margin is on the left edge.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

BODY

See Also

topMargin



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.