I made a navigation bar yesterday. In order to save code, the CSS attribute uses a Line-height. The result is that every time I click the navigation bar, the mouse is over and it is terrible. An eye-catching dotted box does not include images or even images. The dotted box misplacement is very serious, and everything else is normal. In short, it was cool, and it was all in vain to have this dotted line.
In
When clicked, the link will appear dotted, even if it is released, it still exists, sometimes it is not beautiful. Since it's not good-looking, don't want it. How to get rid of it?
Method One
IE can use its proprietary HTML properties: Hidefoucs, adding hidefocus= "true" property to the label's structure. That
And in the Firfox browser is relatively easy, directly to label A to define style outline:none; On it, namely:
. Hidefocus {
Outline:non
If you need to customize a dialog box that allows you to set Data Link Properties, You can first consider using the "Data Link Properties" dialog box that comes with the system.
The call method is very simple. In the project, the adodb. dll and oledb32.dll are introduced, the former is the. NET Library, and the latter
If you need to customize a dialog box that allows you to set data link properties, consider using the system's own Data Link Properties dialog box first.
The invocation is simple, with the introduction of Adodb.dll and Oledb32.dll in the project, which is a. NET library, and the latter is a COM library (Microsoft OLE
1. CSS ModeUnder IE, use HTML attribute: Hidefoucs, add hidefocus= "true" attribute in HTML tag, but this property is IE private, Firefox is not recognized.Added the Hidefocus propertyIn IE, CSS is handled in the following way:A{nooutline:expression_r (This.onfocus=this.blur ());}The Firefox approach is standard, just set A:focus{outline:none} in the style:A:focus{outline:none}The unified approach in MSIE and FF:a{Outline:none;Nooutline:expression_r (This.onfocus=this.blur ());}Consider performa
The following code is recommended
Copy CodeThe code is as follows:
a {outline:none;/* for Forefox */}
A {star:expression (This.onfocus=this.blur ());/* for ie*/}
The following code is more troublesome
We use the HTC file approach to solve this problem. Home Save the following code as a LINK.HTC file.
Copy CodeThe code is as follows:
Write the following code in the HTML file to create a link:
Jb51.net
We begin to define CSS styles for this
How to achieve the following effects through PHP
Enter an address in the link box, submit
Click "View" to open the address entered above
Small white, sample code
Reply content:
How to achieve the following effects through PHP
Enter an address in the link box, submit
Click "View" to open the address entered abo
Link
Local Control
Global Control
CSS Implementation
A{blr:expression (This.onfocus=this.close ());///* only supports IE, excessive use efficiency low *
A{blr:expression (This.onfocus=this.blur ());///* only supports IE, excessive use efficiency low *
A:focus {-moz-outline-style:none}/* IE does not support * *
HTC to achieve IE support, the page will only be effective after loading
Save the following code as. HTC
Call a {Behavior:url (th
I didn't know how to use href to download files. Today I learned how to click a link to bring up the File Download Dialog Box. If you are interested, I learned another trick today, I don't know before, but I have done too few things ......
Purpose: To click the link to bring up the File Download Dialog Box.
Code:
In JS, how does one link the two heap fonts to one display to the text box JS? How does one link the two heap fonts to one display to the text box? the expected result is http: // localhost/zc. php? Id = 31
Browsers support the ability to open the format, he will open the default directly online (such as word or picture), unsupported format, he will pop up the download prompt. It is best to make. rar format, xlsx file. The browser comes with the download function. Body > span > href= "web.xlsx">downloada> span > Body >Use href in HTML to implement click link Popup file Download dialog box
The project needs to use the Data Link Properties dialog box to set up ConnectionString and consult some of the following solutions:
1.DelphiIn Delphi is relatively simple, the steps are as follows:Methods 1:use adoconed;Adoconed.editconnectionstring (ADOConnection1);So we can use:ShowMessage (adoconnection1.connectionstring)Check out ADOConnection1 's connectionstring.Methods 2:adoconnection1.connectionstr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.