2011-08-27 27 views
9

私のサイトにイメージマップがあり、IE以外のすべてで動作します。IEでイメージマップが動作しない

<div id="content"> 
    <div style="text-align:center; width:302px; margin-left:auto; margin-right:auto;"> 
    <img id="alexpeteNav" src="nav.jpg" usemap="Aalexpetenav" border="0" width="302" height="274" alt="" /> 
    <map id="BalexpeteNav" name="AalexpeteNav"> 
    <area shape="rect" coords="0,0,297,72" href="http://doubleohnine.com/" alt="009" title="009" /> 
    <area shape="rect" coords="0,68,297,140" href="about.html" alt="About alexpete" title="About alexpete" /> 
    <area shape="rect" coords="0,139,297,211" href="https://plus.google.com/104897364451129767176" alt="Google+" title="Google+" /> 
    <area shape="rect" coords="0,209,297,269" href="http://www.facebook.com/alexpete" alt="Facebook" title="Facebook" /> 
    </map> 
    </div> 
    </div> 

任意の提案:

これは、コードのですか?理由は?

このサイトは、www.alexpete.comからオンラインで入手できます。

ありがとうございます。

答えて

22

usemapは、マップ名の前に有効なhash-name reference#)が有効であると想定しています。

私は他のブラウザがその点でより寛大であると思います。

+0

完璧に作業しました!ありがとう! – 009

+0

@pekkaあなたは私の質問を見て、私を助けてくれますか?http://stackoverflow.com/q/24078704/2118383 –

関連する問題