2

我正在向客户发送活动,其中我有一个带有背景图像的 div。

此背景图片在 gmail 和 yahoo 帐户中正常工作。但不在 rediffmail 中。

当我检查元素问题时。该html的代码片段是

background-image: u-rl('http://www.mysite.com/Content/Images/discount_bg.png')

在我的实际代码中,没有像我们在 'u' 和 'rl' 中看到的 '-'

任何解决方案。

4

1 回答 1

1

It seems that few email clients do not support background image property. http://www.campaignmonitor.com/css/

http://backgrounds.cm/ this is online tool which might help you to fix this issue.

helpful links:

  1. http://www.campaignmonitor.com/blog/post/3920/bulletproof-background-images-and-buttons-email-newsletters
  2. Background-image css inside an html email - Gmail does not support

Hope this helps.

于 2014-03-23T06:16:13.790 回答