2010-06-04 46 views
2

郵件內容系任何一個可以請讓我知道,只要我發送的通訊與幾個段落。它的獲得完美。但每個郵件內容段落的最後一行在Outlook 2007中都有一個額外的行距?爲什麼?最後在Outlook 2007中

見下面的例子...

Lorem Ipsum is simply dummy text of the 
printing and typesetting industry. Lorem 
Ipsum has been the industry's standard 

dummy text the 1500s... 

,但應該有如下......

Lorem Ipsum is simply dummy text of the 
printing and typesetting industry. Lorem 
Ipsum has been the industry's standard 
dummy text the 1500s... 

回答

4

,如果你的代碼有跨度的格式,可以在最終照顧了多餘的空格標籤。這個空間將隨着電子郵件客戶端的默認字體大小呈現。

如:

<span style="font-size:10px;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text the 1500s...</span> [space here] 

與上次空間線將高到足以容納在默認字體大小的空間(至極往往是12像素)。這將看起來像你的文本的最後一行比其餘行更大的行距。

尤其是複製/粘貼自其它媒體,可能會導致這個空間發生,但因爲你不能看到它,你可以很容易地accidentially設置您的跨度標籤,使他們的那個空間套裙外「。

/Klaus

+0

我有同樣的問題在Dreamweaver中簡單的「應用源格式」修好了我! – woolm110 2013-05-20 10:22:08

0

嘗試在關閉跨度標記後立即添加一箇中斷標記。

EG:<span>Some text</span><br>

+0

因此增加更多的新行會刪除已經存在的...有趣的額外的... :( – vdbuilder 2012-11-05 05:50:15