Eliminating the dotted line box that appears around a link


/ Published in: CSS
Save to your folder(s)

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!


Copy this code and paste it in your HTML
  1. <style type="text/css">
  2. a:focus, a:active {
  3. outline: 0;
  4. -moz-outline: none;
  5. }
  6. </style>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.