【问题标题】:HTML email formatting doens't show correct in outlook 2000,2002/xp, 2003在 Outlook 2000、2002/xp、2003 中,HTML 电子邮件格式显示不正确
【发布时间】:2012-11-30 17:00:28
【问题描述】:

我有以下电子邮件代码:

<HTML>
<BODY>
<!--[if gte mso 7]><TABLE border=0 cellspacing=0 cellpadding=0 width=600 height=600 style="margin:0px;padding:0px;max-width:600px;max-height:600px;width:600px;height:600px;">
<TR>
<TD width=364 height=503 style="margin:0px;padding:0px;max-width:364px;max-height:503px;width:364px;height:503px;">
<a href="https://www.ortho.nl/boeken/het-gouden-boekje-voor-het-hart?source=fmvemail">
<img align="left" width=364 height=503 style="margin:0px;padding:0px;max-width:364px;max-height:503px;width:364px;height:503px;" border=0 src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho2.png&fmvopen=yes" /></a>
</TD>
<TD rowspan=2  width=236 height=600 style="margin:0px;padding:0px;max-width:236px;max-height:600px;width:236px;height:600px;">
<a href="https://www.ortho.nl/boeken/het-gouden-boekje-voor-de-gezondheid?source=fmvemail">
<img align="right" border=0 width=236 height=600 style="margin:0px;padding:0px;max-width:236px;max-height:600px;width:236px;height:600px;" src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho3.png&fmvopen=yes" /></a>
</TD>
</TR>
<TR>
<TD width=364 height=97 style="margin:0px;padding:0px;max-width:364px;max-height:97px;width:364px;height:97px;">
<a href="http://www.gezondeboeken.nl?source=fmvemail"><img width=364 height=97 align="left" style="margin:0px;padding:0px;max-width:364px;max-height:97px;width:364px;height:97px;" border=0 src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho1.png&fmvopen=yes" /></a>
</TD>
</TR>
</TABLE>
<![endif]-->
<!--[if gte mso 7]>
<script type="text/javascript">/*
<![endif]-->
<div style="border:1px solid black;width:600px;height:600px;max-width:600px;max-height:600px">
<a href="https://www.ortho.nl/boeken/het-gouden-boekje-voor-het-hart?source=fmvemail">
<img align=left width=364 height=503 style="margin:0px;padding:0px;max-width:364px;max-height:503px;width:364px;height:503px;" border=0 src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho2.png&fmvopen=yes"></a>

<a href="http://www.gezondeboeken.nl?source=fmvmail">
<img width=364 height=97 align=left style="margin:0px;padding:0px;max-width:364px;max-height:97px;width:364px;height:97px;" border=0 src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho1.png&fmvopen=yes"></a>

<a href="https://www.ortho.nl/boeken/het-gouden-boekje-voor-de-gezondheid?source=fmvemail">
<img border=0 align=top width=236 height=600 style="margin:0px;padding:0px;max-width:236px;max-height:600px;width:236px;height:600px;" src="https://www.ortho.nl/css/image.php?file=nb/20121129ortho3.png&fmvopen=yes"></a>
<!--[if gte mso 7]>
*/</script>
<![endif]-->
</BODY>
</HTML>

但它根本不会像 Outlook 2000 - 2003 中的正确表格那样呈现。我已经尝试了很多方法让它工作,但是当我用 @ 测试它时,它根本不会在这些客户端中正确显示987654321@

有没有人知道让表格在这些客户端中工作的技巧?或者有什么我可以利用的技巧?

【问题讨论】:

    标签: html email


    【解决方案1】:

    更好地为所有电子邮件供应商使用表格中的所有内容。 Outlook 将不支持 Div 标签,它将仅支持旧的表格格式。

    【讨论】:

    • 唯一的问题是,虽然在 Outlook 中它看起来很棒,但在其他客户端中它会出现偏差。
    猜你喜欢
    • 1970-01-01
    • 2014-07-26
    • 2013-02-05
    • 1970-01-01
    • 2023-03-12
    • 2013-01-05
    • 1970-01-01
    • 2010-10-31
    • 1970-01-01
    相关资源
    最近更新 更多