图像映射标记在chrome和firefox中不起作用

时间:2012-10-17 17:34:37

标签: html image map imagemap area

下一个代码剪切是我遇到问题的地方,前3个标签运行良好,但最后2个代码在Chrome和Firefox中无效,在IExplorer中运行良好。你对它的错误或解决方法有任何想法吗?

<div id="caratula" align="center">
    <img src="images/forma_acceso_sin_nav.png" border="0" usemap="#Map"/>

  <map name="Map" id="Map">

      <area shape="rect" coords="348,332,439,417" href="http://201.144.101.36/cotizador/" target="_blank"/>
      <area shape="rect" coords="470,363,508,398" href="http://201.144.101.45/onepage/" target="_blank" />
      <area shape="rect" coords="549,369,633,395" href="http://201.144.101.36/portaliswstudio/" target="_blank"/>

    <area shape="rect" coords="740,522,852,601" href="index.html" target="_self" alt="Pagina Principal" />

    <area shape="rect" coords="9,614,94,648" href="index.html" alt="buscas chamba" target="_blank" style="border:medium;"/>
    <area shape="rect" coords="110,616,142,647" href="index.html" alt="mailto" target="_blank"  />
  </map>

2 个答案:

答案 0 :(得分:1)

好吧,我一直在搜索有关它的信息,我找到了一个具有浏览器功能和兼容版本的表,我认为这是真正的问题,参考是下一个,也许必须对你有用。 / p>

http://haignet.co.uk/object-image-map.htm

答案 1 :(得分:1)

usemap属性中不应包含#。