How to deal with the problem of hideFocus dotted frame
This article introduces the relevant knowledge of "how to deal with the problem of hideFocus dotted frame". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
HideFocus hides focus and has the function of invalidating object focus, which is equivalent to:
The code is as follows:
Its value is a Boolean value, such as hideFocus=true. You can also omit the assignment and write hideFocus directly.
If the code you give has no hideFocus, then the mouse clicks on the hyperlink and a dotted wireframe appears on the outside, which is called focus. With hideFocus, there is no dotted wireframe.
Under IE, you need to add the hidefocus= "true" attribute to the structure of tag a. That is:
In browsers such as FF, it is relatively easy to define the style outline:none; for tag a directly, that is:
The code is as follows:
A {
Outline:none
}
This is the end of the content of "how to deal with the problem of hideFocus dotted frame". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!