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