padding
padding-bottom
padding-left
padding-top
PROPERTY: padding-right
padding-right
:
length
|
percentage
Compatibility:
IE4+ N4+
Version:
Level 1
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:
body { padding-right: 25mm; }
body { padding-right: 1.0in; }
body { padding-right: 15pc; }
body { padding-right: 36pt; }
body { padding-right: 11.5%; }
or
<table border="2">
<tr>
<td style="padding-right: 22px;">
right padding
</td>
</tr>
</table>
Output:
right padding
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information