Remove dotted lines from links
February 18th, 2009
The dotted lines that appear around links is an accessibility feature for people who can't use a mouse and are forced to use a keyboard to navigate. It works well when you use the tab key but it still shows when you are using a mouse.
If your working on government sites that need w3c compliance then I would not recommend removing this feature, otherwise use the CSS code below.
a { /* Mozilla */ outline:none; /* IE */ -moz-outline-style: none; }
You could get fancy and use the dotted line to your advantage. With CSS you can change the dotted line type to solid or change its colour to suit the design.
Good Luck!

Plurk This Post
Buzz This Post
Delicious
Digg This Post
Ping This Post
Reddit
Stumble This Post

I am a student using Dreamweaver for the first time, and generally just work in design view.
At which point in the code do i insert the above CSS code in order to rectify this problem with my site?
Hi Eira,
simply insert the code above within you header tag.
Untitled Document
a {
/* Mozilla */
outline:none;
/* IE */
-moz-outline-style: none;
}