Make your own free website on

Top Margin

Syntax : margin-top : value
Possible Values : length | percentage | auto
Initial Value : 0
Applies to: All elements
Inherited : No

The margin-top property sets the top margin of an element by specifying a length or a percentage. Percentage values refer to the parent element's width. Negative margins are permitted.


BODY { margin-top: 0 }

NOTE Adjoining vertical margins are collapsed to use the maximum of the margin values.