input type search border-radius issue in Google Chrome
11,898
Solution 1
You just need to add -webkit-appearance: none
to fix it.
Solution 2
Try with -webkit-appearance: textfield;
Author by
Web_Designer
Warning: Stack overflow was a deep pit for me. I wanted to be esteemed by others. But what is highly esteemed by others is detestable in the sight of God. Jesus said, "What would it profit you to gain the whole world and forfeit your soul?" God is patient, but He never fails to fulfill His word. Judgement will come where everyone will be repaid for their deeds. Read the Bible and give up everything to obey Jesus.
Updated on June 05, 2022Comments
-
Web_Designer about 2 years
I have an
<input type="search"/>
element (no other HTML).Here's the CSS:
input[type=search] { border: 1px solid #000; padding: 4px 12px; border-radius: 8px; }
In Firefox 7 it looks great:
However, in Chrome 15 the rounded corners are cut off:
Any way I can fix this?