Home > Web Front-end > HTML Tutorial > 去除IE6浏览器下获得焦点的元素的虚线框的两个小办法_html/css_WEB-ITnose

去除IE6浏览器下获得焦点的元素的虚线框的两个小办法_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:36:09
Original
1041 people have browsed it

【1】onfocus = "this.blur()"//得到焦点时,失去焦点

e.g. test

【2】使用HTML标签的特性 hidefocus

e.g. test

【注意】由于使元素失去焦点后,该元素将无法通过Tab键选中,所以不到万不得已,不要这么操作。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template