PADDING PROPERTY:
PADDING-BOTTOM
PADDING-LEFT
PADDING-RIGHT
PADDING-TOP
PADDING
{ PADDING-BOTTOM :
LENGTH |
PERCENTAGE }
Inherited: No
The PADDING-BOTTOM property allows you to insert padding (space) between
the bottom border and the enclosed text or images.
LENGTH
The LENGTH value can be in any of the following seven
units. Use the abbreviation.
Length | Abbrev. |
centimeters | CM |
ems | EM |
inches | IN |
millimeters | MM |
picas | PC |
pixels | PX |
points | PT |
PERCENTAGE
The PERCENTAGE value is based upon the total height being
defined as 100%.
Code:
Selector {PADDING-BOTTOM: 25MM}
Selector {PADDING-BOTTOM: 1.0IN}
Selector {PADDING-BOTTOM: 15PC}
Selector {PADDING-BOTTOM: 36PT}
Selector {PADDING-BOTTOM: 11.5%}
{ PADDING-LEFT :
LENGTH |
PERCENTAGE }
Inherited: No
The PADDING-LEFT property allows you to insert padding (space) between
the left border and the enclosed text or images.
LENGTH
The LENGTH value can be in any of the following seven
units. Use the abbreviation.
Length | Abbrev. |
centimeters | CM |
ems | EM |
inches | IN |
millimeters | MM |
picas | PC |
pixels | PX |
points | PT |
PERCENTAGE
The PERCENTAGE value is based upon the total width being
defined as 100%.
Code:
Selector {PADDING-LEFT: 25MM}
Selector {PADDING-LEFT: 1.0IN}
Selector {PADDING-LEFT: 15PC}
Selector {PADDING-LEFT: 36PT}
Selector {PADDING-LEFT: 11.5%}
{ PADDING-RIGHT :
LENGTH |
PERCENTAGE }
Inherited: No
The PADDING-RIGHT property allows you to insert padding (space) between
the right border and the enclosed text or images.
LENGTH
The LENGTH value can be in any of the following seven
units. Use the abbreviation.
Length | Abbrev. |
centimeters | CM |
ems | EM |
inches | IN |
millimeters | MM |
picas | PC |
pixels | PX |
points | PT |
PERCENTAGE
The PERCENTAGE value is based upon the total width being
defined as 100%.
Code:
Selector {PADDING-RIGHT: 25MM}
Selector {PADDING-RIGHT: 1.0IN}
Selector {PADDING-RIGHT: 15PC}
Selector {PADDING-RIGHT: 36PT}
Selector {PADDING-RIGHT: 11.5%}
{ PADDING-TOP :
LENGTH |
PERCENTAGE }
Inherited: No
The PADDING-TOP property allows you to insert padding (space) between
the top border and the enclosed text or images.
LENGTH
The LENGTH value can be in any of the following seven
units. Use the abbreviation.
Length | Abbrev. |
centimeters | CM |
ems | EM |
inches | IN |
millimeters | MM |
picas | PC |
pixels | PX |
points | PT |
PERCENTAGE
The PERCENTAGE value is based upon the total height being
defined as 100%.
Code:
Selector {PADDING-TOP: 25MM}
Selector {PADDING-TOP: 1.0IN}
Selector {PADDING-TOP: 15PC}
Selector {PADDING-TOP: 36PT}
Selector {PADDING-TOP: 11.5%}
( PADDING :
LENGTH |
PERCENTAGE }
Inherited: No
The PADDING property allows you to set the same PADDING value,
for all four borders and any contents such as text or images,
in only one declaration.
You can declare one, two, three, or four values:
If you declare one value, the amount of padding between all four borders
and the contents will be that value.
If you declare two values, the
top and bottom padding will be set by the first value, the right and left padding
by the second value.
If you declare three values, the top padding will be set by the first
value, the right padding by the second, and the bottom and left padding
by the third.
If you declare four values, the order is top, right, bottom, left.
LENGTH
The LENGTH value can be in any of the following seven
units. Use the abbreviation.
Length | Abbrev. |
centimeters | CM |
ems | EM |
inches | IN |
millimeters | MM |
picas | PC |
pixels | PX |
points | PT |
PERCENTAGE
The PERCENTAGE value is based upon the total width
being defined as 100%.
Code:
Selector {PADDING: 25MM}
Selector {PADDING: 1.0IN}
Selector {PADDING: 15PC 25PC}
Selector {PADDING: 36PT 24PT 36PT}
Selector {PADDING: 11.5%}
Selector {PADDING: 10% 10% 10% 10%}
Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information