tags:

views:

744

answers:

2

is it possible to have cell padding in just one cell versus the whole html table?

A: 

Unfortunately not, if you're referring to using <table cellpadding="0">, as that is a table-wide setting. If you want padding to be applied to just one cell, you'll have to add a class and assign it a padding value that way.

Bryan Veloso
+1  A: 

Just style the cell using CSS:

<table border='1'>
    <tr>
    <td style="padding: 50px;">cell1</td>
    </tr>
    <tr>
    <td>cell2</td>
    </tr>
</table>
Curtis Tasker