IE input background image issue

2019-06-21 23:11发布

问题:

IE the only browser that needs aditional mantainance(someone should pay for this) Here's my problem: I have created some inputs with a background image they work with FF, Chorme, IE9 (did not tested Opera, Safari) but not with IE7 and IE8 where the text is overflowing the image by ignoring the padding or scroll the image(IE7)..

The code: http://jsfiddle.net/CEjXe/12/

I know i can wrap the input with a div and style the div with padding and background image. I’m looking for a different solution css/js only (if there is 1).

Thanks

PS: reducing max-lenght is not an option as many users have long e-mail adresses or passwords, plus i'm using inputs for more fields.