Attribute for <TABLE ...>
CELLPADDING = integer
| Usage Recommendation |
use it |
 CELLPADDING sets the amount
of space (both horizontal and vertical) between the cell wall and
the contents. The default value for CELLPADDING (i.e., if you don't
use the attribute at all) is 1.
So, for example, the following examples demonstrate CELLPADDING when it is absent, when it it set to
1, and when it is set to 10.
| this code |
produces this |
<TABLE BORDER>
|
| peaches | cherries |
| walnuts | almonds |
|
<TABLE BORDER CELLPADDING=1>
|
| peaches | cherries |
| walnuts | almonds |
|
<TABLE BORDER CELLPADDING=10>
|
| peaches | cherries |
| walnuts | almonds |
|
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
|