LEFTMARGIN Attribute | leftMargin参数属性
| DHTML文档教程 |
Sets or retrieves the left margin for the entire body of the page, overriding the default margin.
dhtml语法
HTML | <BODY LEFTMARGIN
= sMargin... >
|
---|
Scripting | BODY.leftMargin [ = sMargin ] |
---|
DHTML可能的值
sMargin | Variant that
specifies or receives the left margin, in pixels. |
The property is read/write.
The property has a default value of
10.
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 an empty string, the left margin is on the left edge.
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