Html Outlook导致表行重叠并被截断

Html Outlook导致表行重叠并被截断,html,outlook,html-table,row,html-email,Html,Outlook,Html Table,Row,Html Email,有人知道是什么原因导致此HTML电子邮件在除Outlook之外的所有客户端和浏览器中都显示良好吗?标题被顶部的徽标截断,社交媒体图标在“跟随我们”下面被截断 我已经包含了特定于这些行的代码: <body width="100%" bgcolor="#ffffff" style="margin: 0; mso-line-height-rule: exactly;"> <center style="width: 100%; background: #ffffff; text-ali

有人知道是什么原因导致此HTML电子邮件在除Outlook之外的所有客户端和浏览器中都显示良好吗?标题被顶部的徽标截断,社交媒体图标在“跟随我们”下面被截断

我已经包含了特定于这些行的代码:

<body width="100%" bgcolor="#ffffff" style="margin: 0; mso-line-height-rule: exactly;">
<center style="width: 100%; background: #ffffff; text-align: left;"><!--
        Set the email width. Defined in two places:
        1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 600px.
        2. MSO tags for Desktop Windows Outlook enforce a 600px width.
    -->

<div class="email-container" style="max-width: 600px; margin: auto;"><!--[if mso]>
        <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" width="600" align="center">
        <tr>
        <td>
        <![endif]--><!-- Email Header : BEGIN -->

<tr>
    <td height="36" style="font-size: 0; line-height: 0; min-height: 36px !important;">&nbsp;</td>
</tr>

<table align="center" aria-hidden="true" border="0" cellpadding="0" cellspacing="0" role="presentation" style="max-width: 600px;" width="100%">

    <tr>
        <td style="text-align: center" class=""><img alt="logo" aria-hidden="true" border="0" src="logo.jpg" style="display: block; background: rgb(255, 255, 255); border-width: 0px; border-style: solid; width: 181px; min-height: 45px; line-height: 1.4em;" height="45" width="181"></td>
    </tr>
</table>
<tr>
    <td height="56" style="font-size: 0; line-height: 0; min-height: 56px !important;">&nbsp;</td>
</tr>

<table aria-hidden="true" border="0" cellpadding="0" cellspacing="0" role="presentation" width="90%">
    <tr>
        <td height="43" style="font-size: 0; line-height: 0; min-height: 43px !important;">&nbsp;</td>
    </tr>
    <tr>
        <td align="center" class="stack-column-center" style="font-family: sans-serif; line-height: 1.4em; color: #777; padding: 0px 20px 0px 20px; overflow: hidden;">
        <h2 style="font-size: 15px; text-transform: uppercase; text-align: center;">Follow us</h2><br>
        </td>
    </tr>

    <tr>
        <td height="27" style="font-size: 0; line-height: 0; min-height: 27px;">&nbsp;</td>
        </tr>
        <tr><td align="center" class="stack-column-center" style="display: block; font-family: sans-serif; line-height: 1.4em; color: #777; padding: 0px 20px 0px 20px; min-height: 60px;">
        <a href="link"><img alt="LinkedIn social icon" aria-hidden="true" border="0" src="link" style="line-height: 1.4em; min-height: 29px; background: #fff; padding: 0 11px;" width="29" height="29"></a> <a href="link"><img alt="YouTube social icon" aria-hidden="true" border="0" src="link" style="min-height: 29px; background: #fff; padding: 0 11px;" width="29" height="29"></a> <a href="link"><img alt="Facebook social icon" aria-hidden="true" border="0" src="link" style="min-height: 29px; background: #fff; padding: 0 11px;" width="29" height="29"></a> <a href="link">
        <img alt="Twitter social icon" aria-hidden="true" border="0" src="linhk" style="min-height: 29px; background: #fff; padding: 0 11px;" width="29" height="29"></a></td>
    </tr>
    <tr>
        <td height="43" style="font-size: 0; line-height: 0; min-height: 43px !important;">&nbsp;</td>
    </tr>
</table>

跟随我们

您的代码存在许多问题。您的tr开始时没有桌子,div开始但没有关闭,桌子下面没有td或tr。我已经对你的html进行了更改以修复上述问题,请让我知道它现在是否有效


跟随我们

对不起。我只粘贴了代码中不起作用的部分,但我可以保留父元素。非常感谢。这看起来像是将em改为px为我修复了它,但随后您的table align=“center”修复了对齐!