转发电子邮件模板时,图像变得更大

时间:2018-12-06 02:26:08

标签: html css image email

因此,我设计了Marketo的电子邮件模板。当我向自己发送电子邮件时,它的视图非常好: enter image description here 如您所见,此处的图像尺寸看起来完全不错,但是问题是当我尝试转发电子邮件时,图像尺寸变得非常大,我不知道为什么。当我转发时,它看起来像这样: enter image description here

我查看图片的代码是:

<div id="cover" class="mktEditable" style="" mktoname="cover">
                          <p class="no-spacing" style="text-align: center;"><img src="http://info.eoriginal.com/rs/907-BBE-942/images/Thumbnail_Demystifying-AutoFinance.png" style="max-width: 100%; width: 180px; height: auto" /></p>
                        </div>

如何将其固定大小?

1 个答案:

答案 0 :(得分:1)

  

众所周知,电子邮件客户端对电子邮件的呈现方式有所不同。订户转发电子邮件时,某些电子邮件客户端会更改转发消息的代码。这可能包括剥离某些HTML元素,将电子邮件包装在块引号中或在代码中插入其他类,所有这些都可能破坏您的设计,并使电子邮件对于转发电子邮件的接收者而言功能降低。

以下是一个按钮示例,该按钮在转发电子邮件时中断: enter image description here enter image description here

来源:https://litmus.com/blog/when-forwarded-emails-break