Re: cellpadding definition in HTML/CSS ?

Giganews Newsgroups
Subject: Re: cellpadding definition in HTML/CSS ?
Posted by:  MH (noma…@nowhere.no)
Date: Sun, 4 Jan 2004

> For a table cell I want to have a padding of 3 pixel ....
> How do I specify this attribute in a <TD>...

'cellpadding' is a table, not a cell attribute, so why not just start a new
1x1 table in the cell and set the padding to 3px;
<td>
  <table cellpadding="3">
    <tr><td>3px padded cell</td></tr>
  </table>
</td>

------
MH

Replies

In response to

cellpadding definition in HTML/CSS ? posted by Mark Richards on Sun, 4 Jan 2004