Monday, March 17, 2014

How to Remove Dotted Outlines for Hyper link?

Here you can see how to remove Dotted outlines for hyperlink



Solution:

a, a:active, a:focus {
   outline: none; 
}
 
 

 and The above code will remove all elements of the dotted line on anchor links, including when the link is active and when it has focus.

If however, you would prefer that the link still has the dotted line when it has the focus, for users that like to use their keyboard for navigation, you can then use the following css code.



a:active, {
   outline: none; 
}
 
 

 

 



No comments:

Post a Comment