Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

select/option html tag dotted outline problem in firefox

Tags:

html

css

firefox

button::-moz-focus-inner { border: 0; } works for buttons...

what about for select/option html tag?

i try everything what is here: How to remove Firefox's dotted outline on BUTTONS as well as links?

but i open new question becouse there is talking about buttons...

like image 483
senzacionale Avatar asked Mar 04 '11 10:03

senzacionale


People also ask

How do I remove an outline from Firefox?

Are you getting blue borders around links, inputs, or buttons in the Chrome browser? Or a dotted border in Firefox browsers? To fix this, youll need to add the outline: none; style to a :focus selector for any element that shows the problem.


1 Answers

  select, option {
        border: 0 none;
        outline: 1px none;
    }

always works for me.

like image 153
THE AMAZING Avatar answered Sep 21 '22 21:09

THE AMAZING