webmonkey

 

margin-bottom

Page history last edited by Jared 2 yrs ago

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

Comments (0)

You don't have permission to comment on this page.