|
Box Properties |
![]() |
||
Box Properties
Top Margin
Right Margin
Bottom Margin
Left Margin
Margin
Top Padding
Right Padding
Bottom Padding
Left Padding
Padding
Top Border Width
Right Border Width
Bottom Border Width
Left Border Width
Border Width
Border Color
Border Style
Top Border
Right Border
Bottom Border
Left Border
Border
Width
Height
Float
Clear
Appearance:
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: adjoining vertical margins are collapsed to use the maximum of the margin values.