
is equivalent to
margin: 10px 30px 15px 50px;
The following example sets the margin to 10 pixels wide in every direction:
margin: 10px;
Padding Properties
Padding is defined exactly like margins with the properties padding-top,
padding-right, padding-bottom, padding-left, and padding except that auto
is not an acceptable value. The following example sets a padding of 0.2
inch:
padding: 0.2in;
Border-Style Properties
The border-style property sets the style of the border to none, dotted,
dashed, solid, double, groove, ridge, inset, or outset. The following exam-
ple paints a solid border around the box element:
border:solid;
It is possible to set a different ...