Home > Abakada: Back to Basics > Language References > HTML Element Attributes > LEFTMARGIN Attribute
Internet Explorer® only.
Sets or retrieves the left margin for the document BODY relative to the page.
Inline |
<body LEFTMARGIN = sMargin...> |
Script |
body.leftMargin = sMargin ] |
sMargin |
String specifying the margin in pixels. |
The property is read/write with a default value of 10.
If the value is set to zero [ 0 ] or an empty string [ "" ] , the left margin will be exactly on the left edge of the window or frame.
BODY
topMargin