2010-03-14 106 views
1

这只发生在一些IE浏览器中。在这里:http://animactions.ca/Animactions/volet_entreprise.php围绕地图多边形(IE)的黑色轮廓

您可能会注意到,当你点击和圆的一个阻力,你会得到一些与此类似: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> 

我真的希望有人能想出解决办法,因为我心中已经尝试了一切......

感谢

+0

嗯,我有这个相同的问题...你可能想参考这篇文章http://stackoverflow.com/questions/9030444/unwanted-border-around-the-image-map-area/9108366#9108366 – Abhidev 2012-02-02 07:13:24

回答

2

这可能是坐标的outline。我不知道正是你需要的目标将其删除哪一个元素,但如果你尝试:

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

这应该删除它们,我想。

+0

我在哪里把这个代码? – jmasterx 2010-03-14 19:21:45

+0

它是CSS,所以理想的是把它放到你的链接样式表中。如果不这样做,你可以把它放到你的'(x)html'文件的''中,在任何其他链接的样式表之后。请记住,如果它在html本身中,那么它需要在每个遇到问题的页面上进行复制。 – 2010-03-14 20:47:53

5

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

太晚了你,但可能帮助别人.. :)

感谢, Sundip