html - 表格宽度在 Outlook 2010 中不起作用

标签 html css outlook newsletter electronic-direct-mail

我为我的客户创建了一个事件 (EDM),它在移动设备、平板电脑和现代浏览器(如桌面版 Chrome 和 Safari)中运行良好,但在 Windows PC 上的 Outlook 2010 中不起作用。表格的宽度延伸到 Outlook 窗口的宽度,因此布局刚刚中断。

(图片:when it works in Chrome/that's what happens in Outlook 2010)

这是我用于表格的代码:

<table align="center" width="600px" cellpadding="0" cellspacing="0" border="0" table-layout="fixed" > <tbody><tr><td style="text-align:left" overflow: "hidden"></td></tr></table>

感谢您的帮助!

最佳答案

您需要在每个 <TR> 中设置宽度和高度和 <TD>

呈现电子邮件样式/表格的 Outlook 很糟糕 :(

关于html - 表格宽度在 Outlook 2010 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30764690/

相关文章:

javascript - JQuery 移动版 : Vertically and horizontally center multiple images using grid

css - 时事通讯 HTML : fonts and vertical align

outlook - VSTO:安装 Outlook Office 2003 加载项

javascript - 如何在 Electron 点击按钮中打开第二个窗口

html - 编写脱机工作的应用程序(Web 应用程序)

jquery - 使用 select2 框克隆表行会创建另一个选择框

html - 粘性 header 始终可见?

javascript - Electron 中 MaterializeCSS 中的所有输入表单看起来都被粉碎了

c# - Outlook 2003 - 显示第一次出现的开始/结束日期的重复项

javascript - 以 html 形式调用 javascript 函数是否有问题