Many times, when you click on someone’s logo, you see that little dotted border around the image when you click it. I think it looks sloppy.

There is an easy CSS fix for this:
a { outline: none; }
Try it.
Many times, when you click on someone’s logo, you see that little dotted border around the image when you click it. I think it looks sloppy.

There is an easy CSS fix for this:
a { outline: none; }
Try it.
16 Comments
That’s a great tip, I didn’t even know it could be turned off. I just implemented it on my blog because I was getting this ugly green border when I clicked a link in my sidebar. Thanks!
I had to share this bit of code with a friend a couple of days ago.
I was wondering If I could possibly be a writer for this blog. I noticed in your footer that you guys are willing to let others join in and share their tips.
The only thing is that you screw up the tabbing order for keyboard freak.
Andrew, yes. Send me an email: mail@andrewmager.com
I will get you an account.
It may be a nuisance to most users, but it is very helpful for those with impairments. It is bad to do as far as accessibility goes. I don’t shut off outline for links anymore.
Yep, great tip. Damn, how did that scape my mind.
-Yep
Ok, was going to type a comment, the captcha sucks. Way to much for this site.
Cool tip. I was just looking for this!
I just implemented this on my site! Thanks!
Yet another thing you have no business removing. This is not print media, websites are meant to interact with the user. That means showing focus on selected items.
Found that:
a:active {outline: 0;}
Is slightly more effective for FF3 and up as well as EI7.
Yes, outlines are meant to show focus. Removing them breaks accessibility. Bad.
Heh, I didn’t know about this one, thanks!
thanks for sharing!
http://css-edge.blogspot.com/
nice tip my dear friend
Thank you so much for this, much easier that I would have thought.
2 Trackbacks
[…] Many times, when you click on someone’s logo, you see that little dotted border around the image when you click it. I think it looks sloppy. (full story) […]
edowsmho…
edowsmho…