Attribute for <TABLE ...>CELLPADDING = integer

Attribute for <TABLE ...>
CELLPADDING = integer

Usage Recommendation
thumbs upNot recommend for modern browsers including Chrome, Firefox, Safari, and Internet Explorer.

illustration of CELLPADDING attributeCELLPADDING 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

Parent: 
<TABLE ...>