topMargin Property

See Also      Applies To

Specifies the margin for the top of the page in pixels.

Remarks

By default, most browsers display pages with a 15-pixel top margin. Specifying a value in topMargin overrides this default.

The value of this property is stored as the topMargin attribute of the <BODY> tag.