Export (0) Print
Expand All leftMargin

leftMargin of type DOMString

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

The default value is 10 pixels. If the value is an empty string, the left margin is the left edge.

The value set on the property overrides the default margin.

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

The leftMargin attribute extends the HTMLBodyElement interface.

© 2015 Microsoft