BOTTOMMARGIN Attribute | bottomMargin Property

Internet Development Index

Sets or retrieves the bottom margin of the entire body of the page.

Syntax

HTML<BODY BOTTOMMARGIN = sPixels... >
ScriptingBODY.bottomMargin [ = sPixels ]

Possible Values

sPixelsVariant that specifies or receives the number of pixels for the bottom margin.

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 "", the bottom margin is set exactly on the bottom edge. The value specified overrides the default margin.

By default, when you set the value of this property, the opposite margin is set to the same value.

Standards Information

There is no public standard that applies to this property.

Applies To

BODY