hopesfall
10-21-2008, 07:37 PM
Cell inside my table
I am trying to get a cell inside a table just big enough so that all that is surrounding it is the 15px cellpadding. Is this markup wrong? Because it doesn't work... what am I doing wrong
Code:
<table border="1" cellpadding="10" cellspacing="0" width="800" class="midTable" style="margin: 45 0 0 0;">
<tr>
<td width="100%" valign="top" border="1" style="padding: 15px;">
</td>
</tr>
</table>
I am trying to get a cell inside a table just big enough so that all that is surrounding it is the 15px cellpadding. Is this markup wrong? Because it doesn't work... what am I doing wrong
Code:
<table border="1" cellpadding="10" cellspacing="0" width="800" class="midTable" style="margin: 45 0 0 0;">
<tr>
<td width="100%" valign="top" border="1" style="padding: 15px;">
</td>
</tr>
</table>
