table space issue in gmail and live

Hi I have a table below a table that i want to butt against each other. It works on mail and out look although on live and gmail it has a small 2px border between them showing the background colour. I have tried collapsing the border etc but now a bit stumped. Below is the code used for the tables.

Any ideas?


<table width="579" height="110" border="0" cellspacing="0" cellpadding="0" class="bg" >
                     <tr><td><img src="images/header.gif" style="display:block; margin:0px; padding:0px;"  alt="header" width="579" height="110" border="0" cellspacing="0" cellpadding="0" align="top" /></td>
                     </tr>
                     <tr><td><img src="<$imagesrc link='true' default='images/main-image.jpg'$> style="display:block; margin:0px; padding:0px;" width="579" border="0"></td>
                     </tr>
                 </table>
               </td>
            </tr>
         </table>
         <table width="579" border="0" cellspacing="0" cellpadding="0" class="bg">
            <tr>
               <td width="390" rowspan="6" align="left" valign="top" class="leftbgroundbar"> 
             <h1>  <$title link='false' default='Enter Title Here'$></h1><br>
  <$description default='<h2>Enter body content here</h2>'$>
         <$description default='<p>Enter body content here</p>'$>               </td>
                 <td align="center" valign="top" class="rightbgroundbar">
            <img src="<$imagesrc link='true' default='images/image1.gif'$>" width="177"></td>
            </tr>
            <tr>
              <td align="center" valign="top" class="rightbgroundbar"><img src="<$imagesrc link='true' default='images/image2.jpg'$>" width="177"></td>
            </tr>
            <tr>
              <td align="left" valign="top" class="rightbgroundbar2"><$description default='<p>Enter body content here</p>'$></td>
            </tr>
         </table>

CSS:
table.bg {
    margin: 0;
    padding: 0;
}

table td {
    border-collapse: collapse;
}

tannoy, 6 years ago

Finally got it. Seems I needed to add in this as well :

table img {
display:block;
}

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098