www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 leftMargin Property
LEFTMARGIN Attribute | leftMargin Property

Sets or gets the left margin for the entire body of the page, which overrides the default margin.

Syntax

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

Possible Values

sMarginString that specifies or receives the left margin, in pixels.

The property is read/write. The property has 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 About Dynamic Properties.

Remarks

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

By default, when you set the value of this property, the opposite margin is set to the same value.

Standards Information

There is no public standard that applies to this property.

Applies To

BODY
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG