TOPMARGIN Attribute | topMargin参数属性
| DHTML文档教程 |
Sets or retrieves the margin for the top of the page.
dhtml语法
HTML | <BODY TOPMARGIN
= iMargin... >
|
---|
Scripting | BODY.topMargin [ = iMargin ] |
---|
DHTML可能的值
iMargin | Variant that
specifies or receives the top margin of the body, in pixels. |
The property is read/write.
The property has 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 about dynamic properties.
remarks
if the value is set to "0" or "", the top margin is on the top edge of the window or frame.
by default, when you set the value of this property, the opposite margin is set to the same value.
是否符合公共标准
There is no public standard that applies to this property.
Applies To