去掉点击map时的显示area边框

 

cus="true"的属性即可

如下:

<img src="some.jpg" border="0" usemap="#map" hidefocus="true">

或者可以使用js+css实现:

1.在area中加入onfocus="blur(this);"的属性也可以

2.area多的时候可以使用:

<style type="text/css">
<!--
area {
anything:expression(this.onfocus=this.blur);
}
-->
</style>

原文地址:https://www.cnblogs.com/aimyfly/p/3245889.html