chrome 下无虚线框,但是在ie8中鼠标点击的时候,会在map的area区域 产生虚线框。解决方法如下:
<map name="Map3" id="Map3"> <area id="Map3_1" shape="poly" coords="9,196,29,197,125,117" href="#" onmouseover="showTip(this,event)" onmouseout="hideMsgBox(event)" onclick="ClickTip(this,event)" onfocus= "this.blur() "/> <area id="Map3_2" shape="poly" coords="144,3174,191,318" href="#" onmouseover="showTip(this,event)" onmouseout="hideMsgBox(event)" onclick="ClickTip(this,event)" onfocus= "this.blur() "/> <area id="Map3_3" shape="poly" coords="287,328,9,326" href="#" onmouseover="showTip(this,event)" onmouseout="hideMsgBox(event)" onclick="ClickTip(this,event)" onfocus= "this.blur() "/> </map>