方法一:
<a onfocus=this.blur() href=\"javascript:void(0)\" class=\"l-button\" style=\"width:80px\" onclick=\'log_1()\'>
<img id=\"img_a\" border=0 align=\"middle\" src=\"login_image/a_1.jpg\" alt=\"没有图片!\"> </img>
</a>
onfocus=this.blur()
增加这个,可以去掉!
方法二: 1.把一下代码存成一个1.htc的文件
<public:attach event=\"onfocus\" onevent=\"example()\" />
<script language=\"javascript\">
function example(){
this.blur();
}
</script>
2.在你的html文件head中加入以下代码,这样所有的连接都没虚线了
<style>
a {behavior:url(1.htc)}
area {behavior:url(1.htc)}
</style>
本文地址:https://www.stayed.cn/item/16944
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我