IE input background image issue

瘦欲@ 提交于 2020-01-24 05:34:26

问题


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.

来源:https://stackoverflow.com/questions/12544915/ie-input-background-image-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!