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, 7 years ago

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

table img {
display:block;
}

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free