【发布时间】:2014-03-10 19:42:44
【问题描述】:
我的电子邮件按钮中的链接在点击时不会重定向用户,即使是如下面代码 sn-p 所示的简单重定向在点击时也没有效果。(在 hotmail、gmail、yahoo 邮件中进行了测试,所以远的)。有什么建议吗?
<p >
If you feel your email account has been compromised please take the appropriate steps to secure your account.<br />
Please click the button below so we can remove this registration request.<br />
<table cellspacing="10" cellpadding="0">
<tr>
<td align="center" width="240 " height="36" bgcolor="#0478db" style="margin-left:15px;-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color :ghostwhite !important; display: block;">
<a href="http:\\www.google.com" style="color: #ffffff; font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block">
Delete Registration Request
</a>
</td>
</tr>
</table>
</p>
当在 gmail 中点击时,它会将我带到一个空白页面;关于:空白。在 hotmail 和 Yahoo 中没有任何反应
【问题讨论】:
-
你应该在 href 属性中使用斜杠而不是反斜杠...