cellpadding, cellpadding-bottom, cellpadding-left, cellpadding-right, cellpadding-top attribute

Type:length
Inherited:no
Used By:table
See:cellborder cellmargin padding

The cellpadding set of attributes can be used on a table element to set the default padding value for each of it's td elements. It functions exactly the same way as padding.

These two tables will appear identical

<table cellpadding="20">
  <tr>
    <td>test</td>
  </tr>
</table>

<table>
  <tr>
    <td padding="20">test</td>
  </tr>
</table>