0

我正在处理电子邮件模板,并且在验证代码后收到了一些错误:

警告:缺少尾随引号的属性

这是代码:

<table border="0" cellpadding="0" cellspacing="0" class="columns-container banner">
    <tr>
        <td align"center" valign="top" style="height:235px; width:696px;">
            <a href="http://www.researchnow.com/en-US.aspx" target="_blank">
                <img alt="Thanks for visiting our website" src="http://sigs.researchnow.com/NA_Emails/US_Emails/Healthcare/healthcare_responsive_html_email/banner.jpg" border="0">
            </a>
        </td>
    </tr>  
</table>

提前致谢!

4

2 回答 2

3

你忘了等号align="center"

<td align"center" valign="top" style="height:235px; width:696px;">

于 2013-09-19T15:41:24.577 回答
1

据我所见,您在 td 标记中的 align 属性之后缺少一个 = 符号。

这是对我有用的修改后的代码:

<table border="0" cellpadding="0" cellspacing="0" class="columns-container banner">
    <tr>
        <td align="center" valign="top" style="height:235px; width:696px;">
            <a href="http://www.researchnow.com/en-US.aspx" target="_blank">
                <img alt="Thanks for visiting our website" src="http://sigs.researchnow.com/NA_Emails/US_Emails/Healthcare/healthcare_responsive_html_email/banner.jpg" border="0">
            </a>
        </td>
    </tr>  
</table>
于 2013-09-19T15:44:15.197 回答