【发布时间】:2017-09-21 12:54:19
【问题描述】:
我需要制作一个响应式 HTML 电子邮件,它在 gmail 中看起来不错,但在 Thunderbird 中一切都搞砸了。我正在使用基础电子邮件框架。
这是一张显示不同之处的专辑: http://imgur.com/a/md4al
上面的两张图片是它在 gmail 中的样子,下面两张是它在 Thunderbird 中的样子。
这是具有顶部图像的表格的 HTML
<table class="float-center wrapper header" align="center">
<tr>
<td class="imgbox">
<img class="mainimage" src= "imgurl" />
</td>
</tr>
</table>
这是 sass css
.imgbox{
height:100%;
width:100%;
position:absolute;
.mainimage{
width:100%;
height:100%;
position: absolute;
}
}
我已经把 html 和 css 弄得一团糟,虽然它在 Gmail 上不断变化,但似乎没有任何影响 Thunderbird。 这是 Thunderbird 的问题吗?有解决办法吗?
【问题讨论】:
-
最好将电子邮件的代码发布给人们查看,或者将功能性 CSS + HTML 发布为可能导致它的位。
标签: html email gmail thunderbird