Reputation: 502
I have used border-radius in my form field. It works fine. But the chrome it appears some line around the filed. Please refer the fiddle.
Please help me.
Upvotes: 2
Views: 141
Reputation: 43
The orange outline is Chrome's way of focusing the users attention on to what they have clicked. As mentioned previously, the best way to get rid of this is outline:none;
in the CSS.
Hope that helps.
Upvotes: 1
Reputation: 1224
Chrome adds a yellow/orange outline when users focus on an input. Remove it like this:
input:focus
{
outline: none;
}
Upvotes: 1
Reputation: 72652
Probably this is just a bug in WebKit. There are a lot of known issues with WebKit having trouble with border-radius
.
You can check out whether the bug already has been added to the buglist.
UPDATE
As jezternz noted you can workaround this by using the style
attribute. Alternatievely you can add a wrapper around the select
element and do the styling on that.
Upvotes: -1
Reputation: 7761
Are you referring to the orange highlight? If so, add this style:
outline:none;
Upvotes: 2