I have sent a newsletter html on a address yahoo (...@yahoo.com) In newsletter html i using code:
我已经发送了一个通讯html在一个地址雅虎(…@yahoo.com)的通讯html I使用代码:
<div style="background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5); bottom: 0px; padding: 0; margin: 0; left: 0; overflow: hidden; position: absolute; width: 100%; height: 55px;">
<a href="">title</a>
</div>
I read mail yahoo, result is
我看了雅虎邮箱,结果是
<div style="background: none repeat scroll 0 0; bottom: 0px; padding: 0; margin: 0; left: 0; overflow: hidden; position: absolute; width: 100%; height: 55px;">
<a href="">title</a>
</div>
How to fix it ?
如何修复它?
1 个解决方案
#1
1
For html email you need to call style declarations uncombined. Use the simple background-color:#252525;
for example.
对于html电子邮件,您需要调用未组合的样式声明。使用简单的背景颜色:# 252525;为例。
You obviously are coming from a web background. You'll find that email coding is like coding for the web in the 90's - what you can do (at least across all email clients) is very limiting. I'd avoid divs in favor of tables, not sure if rgba, scroll, overflow etc work either...
你显然来自网络背景。你会发现电子邮件编码就像90年代的网络编码——你能做的(至少在所有的电子邮件客户端)是非常有限的。我尽量避免使用表格,不确定rgba、滚动条、溢流等等是否有效……
#1
1
For html email you need to call style declarations uncombined. Use the simple background-color:#252525;
for example.
对于html电子邮件,您需要调用未组合的样式声明。使用简单的背景颜色:# 252525;为例。
You obviously are coming from a web background. You'll find that email coding is like coding for the web in the 90's - what you can do (at least across all email clients) is very limiting. I'd avoid divs in favor of tables, not sure if rgba, scroll, overflow etc work either...
你显然来自网络背景。你会发现电子邮件编码就像90年代的网络编码——你能做的(至少在所有的电子邮件客户端)是非常有限的。我尽量避免使用表格,不确定rgba、滚动条、溢流等等是否有效……