CSS property: margin-bottom
Considerations
If you specify a value for margin-bottom as a percentage, the value is calculated as the specified percentage of the containing block’s width, not its height.
Values
Value |
Description |
|---|---|
length |
This value specifies an absolute value for the margin width. The value can be an integer with the unit of measurement. For example, "10pt" or "6px". Negative values are permitted. Possible units include pt, px, in, cm, pc, em, or ex. |
percentage |
This value specifies the margin width as a percentage of the width of the containing block. |
auto |
This value specifies that the BlackBerry® Browser determines the bottom margin of the element. |
Parent topic: CSS Properties