2015-03-02 201 views
-2

我该如何解决这个展望HTML电子邮件的问题它在我的table秒之间显示之间的巨大差距,并td小号如何在Outlook HTML电子邮件的表格之间添加空格?

我的代码:

<table style="table-layout: fixed;" class="w410" width="410" align="center" cellpadding="0" cellspacing="0" border="0"> 
     <tr style="border-collapse:collapse;" > 
      <td class="main-event" height="39" valign="top" align="center" colspan="" style="font-family:'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;border-collapse:collapse; mso-table-lspace:0;mso-tablerspace:0;" > 


       <p align="center" style="margin-bottom: 1em"><span id="exhibitors" style="font-family:'Myriad Pro', Verdana, Georgia; font-size:30px; line-height: 30px; font-style:bold; color:#0054a4; text-decoration: none !important; "><strong>65 Exhibitors<br /> 
       Already Signed Up <br /> 
       and Counting........</strong></span><br /> 
      </td> 
    </tr> 
    <tr style="border-collapse:collapse;" > 
      <td class="main-event" height="20" valign="top" align="center" colspan="" style="font-family:'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;border-collapse:collapse;padding:0 0 0 0; mso-table-lspace:0;mso-tablerspace:0;" > 

       <a href="http://" id="exhibitorlist" target="_blank" style="font-family:'Myriad Pro', Verdana, Georgia; font-size:20px; line-height: 20px; font-style:bold; color:#0e1b8d;; text-decoration: underline !important;"><u>Click Here For The Exhibitor List</u></a> 
    </p>            </td> 
         </tr> 
            </table> 



            <table style="table-layout: fixed;" class="w410" width="410" align="center" cellpadding="0" cellspacing="0" border="0"> 

             <tr style="border-collapse:collapse;" > 



              <td valign="top" align="center" style="font-family:'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;border-collapse:collapse; padding:0 0 0 0; mso-table-lspace:0;mso-tablerspace:0;" ><a href="http://www." target="_blank"><img src="http://www" "alt="Register Now;" border="0" width="269" align="center" style="outline-style:none;text-decoration:none;display:block;"/></a> 
        </td> 
       </tr> 
       </table>           
      </td> 
     </tr> 

    </table>     
      </td> 
      </tr> 
    </table> 

    </td></tr> 
    </table> 

    </td> 

</tr> 
</table> 
+0

请考虑重新构建您的问题。 – 2015-03-02 15:43:45

回答

0

您可以简单地使用边界崩溃:

在你的HTML
table { /* Will apply to all tables */ 
    border-spacing: 0; 
    /* OR border-collapse: collapse; */ 
} 

或者

<table cellspacing="0"> 

希望有帮助

相关问题