站点链接在Firefox中运行,但不在Chrome或Safari中运行

时间:2013-10-06 20:13:51

标签: html google-chrome firefox safari hyperlink

我无法让我的网站链接在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>

1 个答案:

答案 0 :(得分: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。您应该用'。

替换主题的引号。