html - 电子邮件背景颜色上的背景图像

标签 html css email background

使用包含图像作为背景的表格创建电子邮件模板,我想知道是否有可能在图像未显示时获得替代背景颜色(大多数电子邮件平台默认设置)。

我尝试了以下方法:

<table border="0" cellpadding="20" cellspacing="0" width="100%" style="background: #005a84 url(http://xxxx/email-bckg.jpg); background-repeat: no-repeat">

但是在 Outlook 上测试,即使我点击“加载图像”,背景颜色属性也会覆盖背景图像。

有什么想法吗?

谢谢!!

最佳答案

Outlook 2003/2007(桌面版)无法显示background-images 使用 http://backgrounds.cm/相反

关于html - 电子邮件背景颜色上的背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29410393/

相关文章:

java - 已发送电子邮件,但未将密码放入代码中

html - css:让表格填满整个网站

html - 水平形式而不是垂直形式

html - 如何合并html表单

html - 绝对定位的 anchor 标记(无文本)在 IE 中不可点击

jquery - 在不断变化的背景上随机放置的单词(链接)

html - 为什么 Django forms.TextField 占用这么多空间,即使文本输入区域很小?

email - 跨越文本输入字段?

html - 我的一些页面在 IE 中看起来乱七八糟

html - schema.org 的电子邮件属性可以使用 href 值吗?