How to remove the apparently un-removable input type="search" border in Chrome How to remove the apparently un-removable input type="search" border in Chrome google-chrome google-chrome

How to remove the apparently un-removable input type="search" border in Chrome


Apparently Webkit has a custom style for search input fields. You can get rid of it directly then apply your own borders. I removed it here and gave it a red border.

input{  -webkit-appearance: none;  border: 1px solid red;}​

http://jsfiddle.net/Kf9Mu/7/

I've only looked at this in Chrome.


Try this:

input:focus {    outline: none;}