user544079
user544079

Reputation: 16639

outlook 2007 ignoring cell padding

I have a table defined as

<table width="600" cellspacing="0" cellpadding="0">
<table border="0" cellspacing="0" cellpadding="25" width="600">
 <tr>
   <td width="160" bgcolor="#efefef">Text</td>
   <td width="340" bgcolor="#ffffff">Text</td>
 </tr>

</table>
<tr>
 <td colspan="2"><img src="image.jpg"></td>
</tr>
</table>

Here for the image I have a gray shaded area of width 210px and the rest is white. Now this should get aliged with the first cell since it has width 160px + 50px (cellpadding) = 210px (in total)

However, outlook 2007 does not pick up this cellpadding. How can I get this to align in outlook 2007?

Upvotes: 0

Views: 1814

Answers (1)

huMpty duMpty
huMpty duMpty

Reputation: 14470

first of all I think your code should change

 <table width="600" cellspacing="0" cellpadding="0">
  <tr><td>
        <table border="0" cellspacing="0" cellpadding="25" width="600">
         <tr>
             <td width="160" bgcolor="#efefef">Text</td>
             <td width="340" bgcolor="#ffffff">Text</td>
        </tr>    
       </table>
  </td></tr>

<tr>
 <td colspan="2"><img src="image.jpg"></td>
</tr>
</table>

Upvotes: 1

Related Questions