May be a little partner see the title do not know what meaning, hidefocus that is hidden focus, with the function of the object focus failure, its function is equivalent to: Onfocus=this.blur () It is a Boolean, such as Hidefocus=true. You can also omit the direct write Hidefocus. Today we will give you a detailed introduction of the following CSS in the use of hidefocus in detail!
The use of Hidefocus in CSS
Simply put: Hidefocus is the setting of the dotted box outside the hyperlink!
Hidefocus is the hidden focus, which has the function of making the object focus fail, and its function is equivalent to:
Onfocus= "This.blur ()"
Its value is a Boolean value, such as Hidefocus=true. You can also omit the assignment to write Hidefocus directly.
You give the code if there is no hidefocus, then the mouse click on the hyperlink, the outside appears a dashed box, that is, focus. With Hidefocus, there is no dashed box.
Under IE, you need to include the hidefocus= "true" attribute in the structure of tag A.
Demonstrate:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" ><HTML><HEAD><TITLE> Test </title >
In the FF and other browsers are relatively easy, directly to label a definition style outline:none; It is possible, namely:
a {outline:none;}
Or
A{blr:expression (This.onfocus=this.blur ()); outline:none;} Support IE
Summarize:
This article uses the example to explain the CSS in the use of Hidefocus, I believe that we can easily grasp, and hope that your work has helped!
Related recommendations:
Hidefocus (Little Tricks)
Href= "/" and hidefocus= "true" in the <a> tag
A detailed description of the use of Hidefocus in CSS