Sets or retrieves the margin for the top of the page.
Syntax
HTML <BODY TOPMARGIN = iMargin ... > Scripting body.topMargin [ = iMargin ]
Possible Values
iMargin Integer that specifies the top margin of the body, in pixels. The property is read/write with a default value of 15.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
If the value is set to "0" or "", the top margin is on the top edge of the window or frame.
Applies To
See Also