Home > CSS > Removing Dotted Links

Removing Dotted Links

March 1st, 2009

If you don’t like the dotted outline that appears around every link (see image bellow) you can useĀ  this CSS trick :

outline: none;

dottedlinks

Example :

a {
  outline: none;
}


Later edit : You must add the pseudo class of :focus to work on all IE versions.
(thanks to Eric Hoffman )

CSS ,

  1. April 24th, 2009 at 22:40 | #1

    You must add the pseudo class of :focus in order for this to be full proof. Simply declaring it on the anchor tag alone will not work.

  2. admin
    April 24th, 2009 at 23:25 | #2

    Hi, thank you for the observation.

  1. No trackbacks yet.