2013-08-07 1 views
0

HTML : <map><area> 웹킷 브라우저에서만 작동이

<div id="wrap"> 
    <div id="main-content"> 
     <div class="container"> 
      <h1 class="logo">Mysite</h1> 
      <img id="links" src="images/links.png" usemap="map" width="946" height="562" alt="links"> 

      <map name="map"> 
       <area id="shape1" shape="poly" coords="0,377,185,192,370,377,185,562" href="http://www.test.com" alt="asdsad"> 
       <area id="shape2" shape="poly" coords="193,185,378,0,563,185,378,370" href="http://www.test.com" alt="asdsad"> 
       <area id="shape3" shape="poly" coords="384,377,569,192,754,377,569,562" href="http://www.test.com" alt="asdasd"> 
       <area id="shape4" shape="poly" coords="576,185,761,0,946,185,761,370" href="http://www.test.com" alt="sdfsdf"> 
      </map> 
     </div> 
    </div> 
</div> 

하지만 지역 링크가 웹킷 브라우저에서만 작동이 HTML을 쓴, 나머지는 그냥 무시합니다.
아무도 도와 줄 수 있습니까? 또는 어떤 생각을 어떻게 고칠 수 있습니까? <img> 태그에

+2

의 지원되지 않는 아니, 그것은 단지 – twinlakes

답변

5

: usemap="#map"

+0

덕분에 많은 구문 오류가 있습니다! 넌 나를 구했다! –

관련 문제