2016-08-16 81 views
-1

我知道在Stackoverflow上有很多關於這個的帖子,但是沒有一個建議的解決方案似乎正在工作。我試圖在電子郵件爆炸中爲表格單元格添加背景。我無法讓它出現在Outlook中。它的內容,所以它應該可能是HTML,但是我有填充問題。在所有主要電子郵件客戶端上實現這種效果的最佳方式是什麼?我可以在Outlook中使用背景圖片嗎?

謝謝!

<table style="background-color:#FFFFFF;" cellpadding="0px"> 
 
\t \t \t \t \t \t \t <tbody> 
 
\t \t \t \t \t \t \t <tr> 
 
\t \t \t \t \t \t \t <td background="http://d3n8a8pro7vhmx.cloudfront.net/rogersparkfoodcoop/mailings/127/attachments/original/lannin.jpg?1469496240" bgcolor="#2594aa" width="290" height="290" valign="top"> 
 
\t \t \t \t \t \t <div> 
 
\t \t \t \t \t \t \t \t &nbsp; 
 
\t \t \t \t \t \t \t </div> 
 
\t \t \t \t \t \t \t <!--[if gte mso 9]> 
 
\t \t \t \t \t \t \t \t </v:textbox> 
 
\t \t \t \t \t \t \t \t </v:rect> 
 
\t \t \t \t \t \t \t <![endif]--> 
 
\t \t \t \t \t \t \t </td> 
 
\t \t \t \t \t \t \t <td style="background-color:#c8d300; width:290px;" width="290px"> 
 
\t \t \t \t \t \t \t <table cellpadding="4px"> 
 
\t \t \t \t \t \t \t \t <tr> 
 
\t \t \t \t \t \t \t \t <td> 
 
\t \t \t \t \t \t \t \t \t <p style="font-family: Helvetica, Arial, serif; color:#FFF; font-size:11px; line-height:1.2">I believe in the principles around which the RP Food Co-op is organized that includes concern for the environment, for fair labor practices, for community, and for democratic decision-making. My husband and I invested in the co-op not only to have eventual access to its services, but also to benefit the community the co-op serves. Member shares give the co-op the capital base it needs while giving members the sense of ownership. Patronage refunds, based on how much the owners use the co-op, reduce the co-op's tax obligations and keep more money circulating in the local economy. The co-op offers a way to build community through the relationships it builds between the food producers, shoppers, co-op members, volunteers, and employees.</p> 
 
\t \t \t \t \t \t \t \t 
 
\t \t \t \t \t \t \t \t \t <p style="font-family: Helvetica, Arial, serif; color:#FFF; font-size:11px; font-style:italic;">-Sue Lannin, Owner #147 
 
\t \t \t \t \t \t \t \t \t </p> 
 
\t \t \t \t \t \t \t \t </td> 
 
\t \t \t \t \t \t \t \t </tr> 
 
\t \t \t \t \t \t \t </table> 
 
\t \t \t \t \t \t \t </td> 
 
\t \t \t \t \t \t \t </tr> 
 
\t \t \t \t \t \t \t </tbody> 
 
\t \t \t \t \t \t </table> 
 
     

+0

請重新格式化您的html代碼 –

回答

-1

沒關係,我能使用正確尺寸的圖像簡單cellpaddingcellspacing做到這一點。它不流暢地擴展,但它不一定。

相關問題