So I've seen the related posts on how to remove the dotted line around element in Firefox. But still no joy.
I've a unordered list with each LI
containing a label and a radio button. If I set the background color of the LI
to any color then Firefox's dotted line appears around the radio button. If I remove the background I get no dotted line. Strange.
I've tried using the following but still no luck.
input[type="radio"]:focus {border:0;}
input[type="radio"]:-moz-focusring {outline:none;}
Here's a JSFiddle of the problem (try removing/adding the background color on the LI):
Any ideas on how to remove the dotted line but keep the background color on the LI?