margin | WebReference

margin

Name: margin

Description: Sets the margin properties. Used as a type of shortcut, instead of listing each property separately.

Browser Compatibility: IE 3+ / NN 4+ / O 3.5+

Inherited: No

Values:

Code Example:

body {margin: 10px 25px 15px 25px;}

Comments: The margins are set in a clockwise order, beginning at the top: top, right, bottom, left.