leftmargin attribute | leftMargin property

all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Syntax

HTML<element leftmargin="p" ... >
JavaScript

p = object.leftMargin

Property values

Type: Variant

the left margin, in pixels.

10

Default value.

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.

See also

body

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.