You are here:    Home » CSS Tutor » CSS Reference

The Web Design Group

Bottom Margin


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

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

Example:

DT { margin-bottom: 3em }

Note that adjoining vertical margins are collapsed to use the maximum of the margin values.


Maintained by John Pozadzides and Liam Quinn


Web Design Group ~ CSS Index ~ CSS Structure ~ CSS Properties

Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.