Get back the default browser styling for input fields
Posted
by
meo
on Stack Overflow
See other posts from Stack Overflow
or by meo
Published on 2010-12-27T14:34:51Z
Indexed on
2010/12/27
14:54 UTC
Read the original article
Hit count: 199
I need to style all the input fields but one. So i have set a rule for all the inputs on the site.
For the seachfield i need to use the browser default, so i was thinking i could just inherit all the values i have set for the general input fields. (have tried border: none to)
This does not work in FF nor Safari :( The border just gets transparent.
Any idea how i could get the default browser styling back?
EDIT: i need the first input field look like the second one: http://jsfiddle.net/N5KKH/2/
© Stack Overflow or respective owner