簡體   English   中英

HTML電子郵件通訊在Hotmail中的問題

[英]HTML email newsletter issue in 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>

假設您的表之間正在發生間隙,請嘗試將其放在標題中: p {margin: 1em 0;}

另一種選擇是使用一個大表而不是將它們分開。

此外,您還忘記了底部表格中的cellpadding="0" cellspacing="0"

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM