【问题标题】:Image map tag doesnt work in chrome and firefox图像映射标签在 chrome 和 firefox 中不起作用
【发布时间】:2012-10-08 01:11:44
【问题描述】:

下一个代码被剪断是我遇到问题的地方,前 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>

【问题讨论】:

  • 你成功了吗?

标签: html image map imagemap area


【解决方案1】:

usemap 属性中不应有 #。

【讨论】:

    【解决方案2】:

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

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

    【讨论】:

      猜你喜欢
      • 2013-04-05
      • 2010-12-13
      • 2014-05-18
      • 2011-11-12
      • 2016-11-08
      • 2018-05-03
      • 1970-01-01
      • 1970-01-01
      • 2011-11-05
      相关资源
      最近更新 更多