# Property Description

The margin-bottom property sets the bottom margin of an element.

Note: Negative values are allowed.

# Property Values

Value | Description
--- | ---
auto | Browser calculates the margin
length | (default is 0) Specifies a bottom margin in px, pt, cm, etc. Value can be negative
% | Specifies a bottom margin in percent of the width of the containing element
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the bottom margin for paragraph elements.

    p {
      margin-bottom:2cm;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | No
Defined In: | CSS1