1. Computing

Discuss in my forum

margin-bottom

By , About.com Guide

margin-bottom Description:

The margin-bottom property defines the bottom margin of the element.

margin-bottom in CSS Versions:

margin-bottom Syntax:

margin-bottom: <length> | <percentage> | auto

  • length
    A specific length (include unit of measure).
  • percentage
    A percentage of the height of the closest block-level ancestor.
  • auto
    Allows the user-agent to define the margin based on inheritance and pre-set user-agent rules.

margin-bottom Initial Value:

0

margin-bottom Applies To:

All elements.

margin-bottom Inheritance:

This property is not inherited.

margin-bottom Browser Support:

margin-bottom Examples:

standard margin-bottom

<p style="margin-bottom : 2em;">
 This paragraph has a 2 em margin bottom.
 </p>

margin-bottom Special Notes:

  • Negative values are permitted, but may be affected by implementation limits.

More margin-bottom Information:

©2013 About.com. All rights reserved.