Hotmail中的HTML电子邮件简报问题

时间:2013-06-23 07:52:04

标签: html css newsletter email-client hotmail

我有以下html适用于所有电子邮件客户端,但在hotmail中我在每个html标签之间获得了一些额外的空间。基本上标签之间的间距很奇怪。我以这个html为例。它应该与浏览器中的相同。没有额外的空间。

任何人都请帮忙!!!

<table border="0" cellpadding="0" cellspacing="0" style="display:block;line-height:100%;">
                <tr>
                  <td style="color: #333332; font-family: Georgia, Times, serif; font-size: 14px; line-height: 22px; text-align: justify;margin:0;">
                    Peakview Place Apartments in Englewood  CO are 25 minutes from downtown Denver and less than 5 minutes from I 25   Apartments have washers dryers  
                    private patios balconies  kitchens with pantries  wood burning fireplaces  large closet space and wood style floors in select homes   Pet friendly 
                    community features 24 hour fitness center  swimming pool  playground  barbecue picnic area and complimentary coffee   Located near the Denver Tech Center  
                    less than 10 minutes from Park Meadows Mall and less than five miles from C 470 and I 225   Call or visit our website for a personal tour                      
                  </td>
                </tr>
              </table>

              <table width="100%" border="0" style="color: #333332; font-family: Georgia, Times, serif; font-size: 14px;display:block;line-height:100%;">
                <tr>
                  <td style="color: #333332; font-family: Georgia, Times, serif; font-size: 14px;text-align: left;">
                    <strong>Floorplans &amp; Prices</strong>
                  </td>
                </tr>
                <tr>
                  <td style="color: #333332; font-family: Georgia, Times, serif; font-size: 14px; line-height: 22px;">
                  We offer pricing and floorplans to meet our resident's needs.  Click on one of the floorplan buttons below to see diagrams.
                  </td>
                </tr>
              </table>

1 个答案:

答案 0 :(得分:0)

假设您的表格之间存在差距,请尝试将其放入标题中:p {margin: 1em 0;}

另一个选择是使用一个大表而不是将它们分开。

另外,您忘记了底部表格中的cellpadding="0" cellspacing="0"