gpt4 book ai didi

.net - 如何发送一封在 outlook 中完全符合我在 web 浏览器中看到的电子邮件?

转载 作者:行者123 更新时间:2023-11-28 00:23:16 26 4
gpt4 key购买 nike

在我的网络浏览器中,这显示正确。但是,当我将它发送到 Gmail 或 Outlook 时,它无法正确显示,也无法在居中对齐布局中显示。 (我收到的许多其他时事通讯都恰好位于中心)。

要发送的 HTML:

<form target="theFrame" >
<DIV class=contents style="width:527px;">
<DIV class=contents_body style="padding-left:150px;">
Why you are not padding, in Outlook? And showing full texts in 100% width?
</DIV>
</DIV>
</form>
<iframe name='theFrame'></iframe>

最佳答案

这是因为电子邮件客户端基于旧版本的 html,不会像浏览器一样呈现。

如果您查看在线服务,例如 acid 或 litmus 上的电子邮件,您可以在发送之前测试您的电子邮件在各种电子邮件客户端中的外观。

保持您的电子邮件模板基本并支持旧式表格布局。

间隔图片怎么样?

<DIV class=contents style="width:527px;">
<img src="yoururl/img/spacer.gif" width="150px" align="left" />
<DIV class=contents_body style="padding-left:150px;">
Why you are not padding, in Outlook? And showing full texts in 100% width?
</DIV>
</DIV>

关于.net - 如何发送一封在 outlook 中完全符合我在 web 浏览器中看到的电子邮件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7526107/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com