【发布时间】:2014-02-17 13:31:41
【问题描述】:
我正在为 Mailchimp 开发一个时事通讯,其中一个块具有以下 HTML 结构 -
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td valign="top" class="complete-block">
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Amazon </td>
</tr>
</table>
</a>
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Apple iBooks </td>
</tr>
</table>
</a>
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Nook </td>
</tr>
</table>
</a>
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Google </td>
</tr>
</table>
</a>
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Kobo </td>
</tr>
</table>
</a>
<a href="#" target="_blank">
<table border="0" cellpadding="9" width="100%" align="center" cellspacing="0" class="templateButton display-inline" mc:hideable>
<tr>
<td align="center" valign="middle" class="templateButtonContent"> Sony </td>
</tr>
</table>
</a>
</td>
</tr>
问题是,当我在 Outlook 上测试模板时,我发现我的按钮 [Amazon、google、nook 等] 没有 LINK。
我错过了什么?我们不能用锚标签包装一个表格吗?
【问题讨论】:
标签: outlook html-table anchor html-email