How to remove this orange border from chrome when activating the field?
4 answers
So it should work:
<style type="text/css"> input {outline:none} </style>
Do not forget to tick
- Does not work - Happy_Cougar
- Try the second version written by me ... - Rules
- <input name = "nick" type = "text" size = "50" id = "id_field"> <input name = "password" type = "password" size = "50" id = "id_field"> <input name = "e-mail" type = "text" size = "50" id = "id_field"> - Happy_Cougar
- 2 option does not work - Happy_Cougar
|
input, textarea { outline: none; } input:active, textarea:active { outline: none; } :focus { outline: none; }
- : focus wrong *: focus! - Rules
|
input, textarea, input:active, textarea:active, *:focus { outline: none; }
If it doesn't help, try this:
* { outline: none !important; }
|
:active, :hover, :focus { outline: 0; }
|