地图多边形(IE)周围的黑色轮廓

时间:2010-03-14 18:58:26

标签: html css image map

这只发生在一些IE中。这里:http://animactions.ca/Animactions/volet_entreprise.php

您可能会注意到,当您点击并拖动其中一个圈子时,您会得到与此类似的内容:http://img534.imageshack.us/img534/7578/errorra.png

我无法理解。这是我的图像地图:

<p class="style2">
  <map id="FPMap0" name="FPMap0">
  <area coords="405, 8, 375, 10, 353, 13, 322, 30, 317, 48, 327, 69, 344, 75, 370, 84, 401, 86, 428, 81, 454, 69, 466, 56, 468, 37, 452, 19, 419, 9" href="le_developpement_des_equipes_de_travail.php" shape="poly" style="outline:0" target="_blank" />
  <area coords="95, 164, 65, 166, 43, 174, 21, 186, 16, 206, 27, 225, 48, 237, 76, 241, 99, 241, 129, 236, 151, 228, 165, 214, 167, 194, 154, 177, 130, 168, 105, 165" href="le_developpement_operationnel.php" shape="poly" style="outline:0" target="_blank" />
  <area coords="138, 17, 115, 7, 95, 8, 63, 8, 41, 20, 21, 35, 23, 60, 42, 74, 77, 83, 117, 86, 144, 76, 164, 62, 173, 40, 156, 21, 137, 12" href="coaching_strategique_de_cadre.php" shape="poly" style="border-width:0" target="_blank" />
  </map>
  <img alt="services entreprise" height="258" src="Images/service_ent.PNG" width="490" usemap="#FPMap0" /></p>

我真的希望有人可以解决这个问题因为我尝试过所有事情......

由于

2 个答案:

答案 0 :(得分:5)

我有同样的问题,通过在区域元素中应用onfocus="this.blur();来解决它。

对你来说为时已晚,但可能会对其他人有所帮助.. :)

谢谢, Sundip

答案 1 :(得分:2)

这可能是坐标的outline。我不确定你需要准确删除它的哪个元素,但如果你尝试:

p.style2 * :active,
p.style2 * :focus {outline: none; }

我认为应该删除它们。

相关问题