Posted By

liquidfuse on 06/08/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jamesming


Eliminating the dotted line box that appears around a link


 / Published in: CSS
 

URL: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_22464035.html

This css tweak eliminates the dotted line box that appears around a link after it has been clicked on.

Add the code between your tags:

*I tested in Firefox 3.0+ and IE 8 on an OS running Windows 7 RC Build 7100. It works fine for me!

  1. <style type="text/css">
  2. a:focus, a:active {
  3. outline: 0;
  4. -moz-outline: none;
  5. }
  6. </style>

Report this snippet  

You need to login to post a comment.