I have 2 basic forms: sign in and sign up, both on the same page. Now, I have no problem with the sign in form auto-filling, but the sign up form auto fills as well, and I don’t like it.
Also, the form styles get a yellow background which I can’t manage to override and I don’t want to use inline CSS to do so. What can I do to make them stop being colored yellow and (possibly) auto filling?
for the autocompletion, you can use:
regarding the coloring-problem:
from your screenshot i can see that webkit generates the following style:
1) as #id-styles are even more important than .class styles, the following may work:
2) if that won’t work, you can try to set the style via javascript programmatically
3) if that won’t work,
you’re doomed 🙂consider this:this wont hide the yellow color, but will make the text readable again.
4) a css/javascript solution:
css:
and the following javascript has to be run onload:
eg:
good luck 🙂
5) If none of the above work try removing the input elements, cloning them, then placing the cloned elements back on the page (works on Safari 6.0.3):
6) From here: