Cell padding within inline CSS
Posted
by GregH
on Stack Overflow
See other posts from Stack Overflow
or by GregH
Published on 2010-06-08T22:00:49Z
Indexed on
2010/06/08
22:22 UTC
Read the original article
Hit count: 237
I have a table within a div (see below). How do I add a right padding of say 30px to each cell/column within the table in that div? My understanding is that I have to use inline CSS? Basically, I want each cell to be padded on the right by 30 pixels.
<div id="ddTopMenu";>
<table border="0" >
<tr>
<td width=100></td><td >Dictionary</td><td>Search</td><td>Sources</td><td>References</td>
</tr>
</table>
</div>
© Stack Overflow or respective owner