14

This is the textarea

http://i.imgur.com/kdugksf.png

This is the textarea that is clicked on and has text in it

http://i.imgur.com/jKo4WrG.png

When Google chrome's autocomplete hijacks the textarea

http://i.imgur.com/Ex8fYyu.png

I've tried fixing it by putting in this code

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
}

But the best I can get it to look like is this

http://i.imgur.com/XyPNLZz.png

I want the white box to either be transparent, or it can stay white but be smaller so that it does not block any of the blue parts of the textbox. Is this possible at all? I've tried googling around and I came up with nothing. Or if you guys have any other ideas on how to fix this, that would be great!

Also, if there is a way to make the autocomplete box just a little bit smaller that would be fine too, or maybe a way to move the label down ? =/

I want autocomplete on.

DanMossa
  • 994
  • 2
  • 17
  • 48

3 Answers3

-1

try this: background-color: #fff !important;

http://labs.enonic.com/articles/remove-forced-yellow-input-background-in-chrome

Removing input background colour for Chrome autocomplete?

Are you sure I found this: Google Chrome form autofill and its yellow background

Community
  • 1
  • 1
www139
  • 4,960
  • 3
  • 31
  • 56
-3

Please try this:

input:-webkit-autofill {
    -webkit-box-shadow:5px 5px 5px rgba(0,0,0,0.3);
}

rgba fourth argument is opacity level.

mertyildiran
  • 6,477
  • 5
  • 32
  • 55
-3

also try:

input:-webkit-autofill {
   background:rgba(255,255,255,0) !important;
}
skrrgwasme
  • 9,358
  • 11
  • 54
  • 84
scooterlord
  • 15,124
  • 11
  • 49
  • 68