去掉链接的边框

1.ie下添加属性hidefocus="true"

2.ff等浏览器 outline:none;

3将以下代码保存为link.htc文件

<public:attachevent="onfocus"onevent="hscfsy()"/>

<scripttype="text/javascript">
function hscfsy(){this.blur();}
</script>

链接样式中加入:

a { behavior:url(link.htc);}
原文地址:https://www.cnblogs.com/yanypan/p/2860608.html