How to remove selection rectangle using CSS

Have you ever noticed that when you click a link (in Firefox,IE etc) a dotted rectangle appears around it? (see the image above)

I don’t have a problem with it. But if you find it boring and want to get rid of it. Then I’ve the best solution for you. You can get rid of it with one line of code.

All you have to do is to insert this into your CSS:

And those rectangles (or outlines) will never appear again.

Leave a Reply

Your email address will not be published. Required fields are marked *