843 VIEWS

Tips to remove dotted border on Firefox

BYLi Du
June 4, 2014

 css 640x240

It goes without saying that Firefox is one of the best browsers I have ever used. I love it! However, there is a small build in bug that irritate me all the time until I find a way to fix it.

What I am referring to here is the dotted outlines that appear around the link and disappear when user click anything else in the page.

As I encountered this problem and brought me trouble, I would like to share a small trick that can get around it very easily.

This trick can completely remove it from your Firefox’s default behavior by editing the CSS that controls the user interface.

Put the following codes in your Cascading Style Sheet in your theme:

a:focus, 
a:active,
button,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner  { 
    outline:none !important;
}
Li Du

BY

Building and running First Site Solutions make my dream come true! Over the years of pursuing my dream, I saw the amazing opportunities in online business world, acquired valuable experience and a great wealth of skills and knowledge on building, growing and developing a business online.

I am growing with my company and in the field of my interest. We are turning our website into an online business platform and community where you can start and grow your own business too!

When I endeavored to develop our business with my passion and faith, I wanted to share all I've learned (good and bad) with you, and wish that it can benefit you and your business, help you find what you need to reach your business goals and achieve your successes.

get our free ebook

free ebook download

conversion rate optimization

the way to increase your online sales!

download now

Download Free E-book

Conversion Rate Optimization – The Way to Increase Your Online Sales


Sign up to get instant access to my ultimate guide to successful Conversion Rate Optimization and keep updated on our actionable tips plus exclusive deals!