back

Margin

Margin is used to define a clear area outside of an elements border.
Margins are invisible and cannot be seen.
Each HTML element has four margins, one for each side, they can be set individually or as one declaration.

The options are:
(1) Auto, the browser will automatically set a margin
(2) Length, you can set the margin as a length such as px
(3) Percentage, the margin is set as a percentage of its containing elements width.
(4) Inherit, the value will be inherited from its parent element.

Margin
 
-bottom
-left
-right
-top