'cellpadding' sets the empty width between a cell's border and its content : cellpadding : Table Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Attributes » cellpadding »

 

'cellpadding' sets the empty width between a cell's border and its content



    
<HTML>
<head>
<Title>Example For cellpadding</Title>
</head>
<BODY>
   <table width="542" 
          cellpadding="15">
          <tr>
             <th height="79" colspan="2">This table has cellpadding="15"; </th>
          </tr>
          <tr><td>Cell </td>
              <td>Cell </td>
          </tr>
   </table>
</BODY>
</HTML>  

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Attributes
» cellpadding