2013-03-04 48 views
0

我在HTML電子郵件中創建的表格中添加了一行。它在橙色區域。我不確定是什麼造成的。那裏沒有圖像。這是我的代碼表。iOS中的HTML電子郵件

<table cellpadding="0" cellspacing="0" border="0" width="625" align="center" bgcolor="#FFFFFF"> 
    <tr> 
     <td height="23" bgcolor="#f08122" colspan="3">&nbsp;</td> 
    </tr> 
    <tr> 
    <td width="23" bgcolor="#f08122"></td> 
     <td bgcolor="#f08122" valign="middle" style="font-family:Helvetica, Arial, sans-serif; color:#FFFFFF;" align="center"><span style="font-size:30px; line-height:36px; font-weight:bold;"><strong>Improve outcomes and empower patients with health logs</strong></span><br /><br /> 
     <span style="font-size:27px;">Order now and get <strong>10% more FREE!*</strong></span></td> 
     <td width="23" bgcolor="#f08122"></td> 
    </tr> 
    <tr> 
     <td height="23" bgcolor="#f08122" colspan="3">&nbsp;</td> 
    </tr> 
    <tr> 
     <td height="5" colspan="3"></td> 
    </tr> 
    </table> 

這裏是鏈接到實際的電子郵件,如果你還想要一個活動視圖:https://tagwebstore.com/email/tag-email-logbooks.html

這裏是我的iPhone的HTML郵件的截​​圖。

enter image description here

的線條看起來是上方和下方的白色文字。有任何想法嗎?提前致謝。

回答

1

將背景顏色或圖像應用於單獨的表格單元格時出現邊框。

你可以試試:

  1. 除去單個錶行和 細胞,和/或背景顏色或圖片;

  2. 將問題表嵌套在一個新表中,其背景顏色與內部表的顏色相匹配。

source

+0

謝謝,我打算試一試。在表格中設置背景顏色而不是在單元格中更有意義。 – 2013-03-04 21:00:10

+0

這兩個建議都像魅力一樣工作。簡直不敢相信。必須注意HTML中的小細節。謝謝您的幫助! – 2013-03-04 21:02:14

+0

沒問題,祝你好運 – 2013-03-04 21:02:43

1

此外,設置風格= 「顯示:塊;」對img元素始終如一地幫助所有圖像的位置,與上述建議相一致。