=====================2008年1月26日0:50:54更新=====================
这个貌似正确:
a {blr:e?xpression(this.onFocus=this.blur())} /*for IE*/
a {outline:none;} /*for 现代浏览器*/
=====================2008年1月25日10:49:44更新=====================
就加这段在head中间就行
<style type=”text/css”>??
a{blur:e?xpression(this.onFocus=this.blur());}??
</style>
有时候在一个页面用到收放功能的时候时,总有一个虚线框在触发收放的功能按钮上,显得特别刺眼,那如何去除这个虚线框呢?
在IE下,需要在标签 a 的结构中加入 hidefocus=”true” 属性。即:
<a href=”” hidefocus=”true” title=”淘宝网,淘我喜欢”>淘宝网</a>
而在FF等浏览器中则相对比较容易,直接给标签 a 定义样式 outline:none; 就可以了,即:
a {
outline:none;
}
如有更好的方法,欢迎跟帖讨论!
最新评论
写的挺好的
有没有兴趣翻译 impatient js? https://exploringjs.com/impatient-js/index.html
Flexbox playground is so great!
感谢总结。
awesome!
这个好像很早就看到类似的文章了
比其他的教程好太多了
柯理化讲的好模糊…没懂