如何修复outlook导致的HTML渲染问题 [英] How do I fix the rendering issues of HTML caused by outlook

查看:623
本文介绍了如何修复outlook导致的HTML渲染问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我无法找出修复此页脚的最佳方法。代码主要是使用HTML表格完成的,因为Outlook渲染使用了单词引擎但产生了一个奇怪的页脚。

代码

它在Outlook 2013上的外观 - ss



我尝试了什么:



试图将其换成另一组表但没有帮助......

Hello I can't figure out the best way to fix this footer. The code is mostly done with HTML tables because Outlook renders using Words engine but that produces a weird looking footer.
Code
How it looks on Outlook 2013 - ss.

What I have tried:

Tried to wrap then in a another set of tables but no help...

推荐答案

我可以告诉你的是,收到一封要在Outlook中正确呈现的电子邮件是一件痛苦的事。在我看来,它的引擎几乎不支持HTML。



开始阅读 this stuff [ ^ ]。



当我这样做时,我有一些HTML表格没有渲染正常。我通过将HTML包装在以下模板中来修复它:

All I can tell you is getting an email to render correctly in Outlook is a pain in the ass. It's engine barely supports HTML in my humble opinion.

Start reading this stuff[^].

When I did this, I had some HTML tables that didn't render properly. I fixed it by wrapping my HTML in the following template:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><td>
        <table class="content" align="left" cellpadding="0" cellspacing="0" border="0">
            <tr><td>
                {Email body HTML goes here}
            </td></tr>
        </table>
    </td></tr>
</table>
</body>
</html>





我不保证这对你有用!



I MAKE NO GUARANTEES THAT THIS WILL WORK FOR YOU!

这篇关于如何修复outlook导致的HTML渲染问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆