0

我无法让我的网站链接在 Chrome 和 Safari 中工作。它在 Firefox 中运行良好,但它们不会在 Chrome 和 Safari 中显示为链接。我有一个标题和“生物”、“查看卷轴”和电子邮件的链接。有人可以告诉我如何解决这个问题吗?代码如下。谢谢!

<!DOCTYPE html>
<html xmlns="http://www.studiogo.tv">

<body align="center">
<link rel="stylesheet" href="format.css">

<map id="home">
<area shape="rect" coords="134,10,902,151" href="http://www.studiogo.tv" />
</map>

<map id="links">
<area shape="rect" coords="325,165,426,188" href="http://www.bradgo.com/edit" alt="View Reel" title="View Reel"    />
<area shape="rect" coords="326,187,362,207" href="http://www.studiogo.tv/bgobio.html" alt="BGOBIO" title="BGOBIO"    />
<area shape="rect" coords="718,169,754,189" href="http://www.studiogo.tv/ngobio.html" alt="NGOBIO" title="NGOBIO"    />
<area shape="rect" coords="325,135,480,153" href="mailto:bradgo@gmail.com?subject="The Hush Project"" alt="" title=""    />
<area shape="rect" coords="720,136,884,154" href="mailto:nicolekgo@gmail.com?subject="The Hush Project"" alt="" title=""    />
</map>

<table border="0" width="95%" align="center">
<tr>
    <td colspan-"1" align="center" bgcolor="black"><img src="STUDIOGO_BANNER.png" usemap="#home" border="0"></td>
</tr>
<tr>
  <td colspan="1" align="center" bgcolor="black" border="0" width="95%">
<body align="center">

<iframe width="560" height="315" src="http://www.youtube.com/embed/ialX5OqPpv8" frameborder="0" allowfullscreen></iframe>
</br>
</body>
</td>
</tr>
<tr>
    <td colspan="1" align="center" bgcolor="black"><img src="STUDIOGO_BOTTOM.png" usemap="#links" border="0"></td>
</tr>
</table>
</body>
</html>
4

1 回答 1

1

没有例子很难说,但你可以从这个开始:

<area shape="rect" coords="325,135,480,153" href="mailto:bradgo@gmail.com?subject='The Hush Project'" alt="" title=""    />
<area shape="rect" coords="720,136,884,154" href="mailto:nicolekgo@gmail.com?subject='The Hush Project'" alt="" title=""    />

您正在为邮件主题使用引号,这会弄乱链接,因为主题的开头“实际上关闭了 href。您应该将主题的引号替换为 '。

于 2013-10-06T20:23:08.957 回答