Dots appearing around images when you click them

By David Pratt / Tags: , / No Comments / Published: 22-11-09

A quick tip!  If you every get an undesirable dotted border appearing around an image when you click it e.g:

Dots appearing around an image after you click it

Dots appearing around an image after you click it

All you need to do to fix it is set the outline property of the anchor element to zero, like so:

a{outline:0};

Happy days.

Category: Tech

Tags: ,

Posted: on November 22nd, 2009 at 1:42 pm.

Feeds: RSS 2.0

Leave a reply