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

Note: Negative values are allowed.

Inherited:
No

EXAMPLE

h1
{ margin-bottom: 10px; }

h2
{ margin-bottom: -20px; }

Value Description

auto The browser sets a bottom margin
length Defines a fixed bottom margin. Default value is 0
% Defines a bottom margin in % of the total height of the document


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts