HTML 代码在 Outlook 2010 上无法正确呈现

标签 html outlook

我能够在浏览器上正确呈现带有表格的 html 代码,但在 Outlook 2010 上接收时,表格结构丢失。下面是我的代码。 是否是因为任何 html 标签导致 Outlook 无法呈现?请帮忙

    <div style="color: black; font-family: Calibri;"> <img src="../images/Survey.png">
<br>
<br>
<p style="text-align: center; font-weight: bold;">Customer Establishment Feedback Survey</p>Hi [CONTACT_NAME],
<br>
<br>We would appreciate if you could complete the <b>Establishment Feedback Survey</b> below. This is in relation to your experience of your [PRODUCT] setup.
<br>
<br>
<table width="970" height="547" border="y">
    <tbody>
        <tr>
            <td>
                <p>Communication Provider Name</p>
            </td>
            <td width="409.5">
                <p>[CONTACT_NAME]</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>CE Delivery Manager(s) engaged with</p>
            </td>
            <td>
                <p>[USERNAME]</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>Date Survey Completed</p>
            </td>
            <td>
                <p>&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>Product(s) established for</p>
            </td>
            <td>
                <p>[PRODUCT]</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>How would you rate your overall level of satisfaction with the end to end set up your new product ?&nbsp;</p>
                <p>(on a scale of 1 to 10, with 1 being lowest and 10 being highest)</p>
                <p>&nbsp;</p>
                <p>Please add comments if applicable</p>
            </td>
            <td>
                <p>&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>What worked well with the set-up of your new product ?</p>
                <p><b>&nbsp;</b>
                </p>
            </td>
            <td>
                <p>&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>What did not work well with the set-up of your new product ?</p>
            </td>
            <td>
                <p>&nbsp;</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>Please add any other comments about your set-up experience that you would like to bring to our attention</p>
            </td>
            <td>
                <p>&nbsp;</p>
            </td>
        </tr>
    </tbody>
</table>
<p>&nbsp;Thank You</p>
<br> Regards,
<br> [USERNAME]

最佳答案

您需要将父 table 标记中的 border="y" 更改为 border="1"(或增加增加边框大小的值)

关于HTML 代码在 Outlook 2010 上无法正确呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41572894/

相关文章:

javascript - 为什么 anchor href 显示片段的完整路径?

php - ics iCal 描述最大长度

html - 格式化按钮(字体,字体(相对)大小,对齐方式,内边距)

excel - 让 VBA 循环遍历 Outlook 中的所有收件箱,包括共享收件箱

html - 如何在 Outlook 电子邮件中居中左对齐文本?

javascript - 当 html 高度为 : 100% 时,粘性导航中断

html - 图像停留上的简单 CSS 文本

vba - Outlook 在电子邮件线程中获取其他电子邮件--UniqueBody

powershell - 使用 PowerShell 将电子邮件从一个文件夹移动到另一个文件夹

java - 适用于 Mac OS 的 Outlook(独立应用程序)加载项