CSS bug in text input field - MSIE7

Posted by Uri Bruck on Stack Overflow See other posts from Stack Overflow or by Uri Bruck
Published on 2010-12-21T13:53:41Z Indexed on 2010/12/21 20:54 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

I have an input text in a form that has a problem in MSIE7. When the text field is filled and I continue typing, the background starts scrolling left along with the text.

This is the form when the text field is filled http://img155.imageshack.us/i/screen2rl.jpg/ The background image, a white rectangle with rounded corners, scrolls left with the text, leaving the black background.

This is the CSS for this text field:

border: none; background: url('/wp-content/themes/pokerbuddy/images/field.png') top left no-repeat; width: 100px; height: 20px; padding: 0px; font-size: 80%;
color: #399;
display:inline;

Is there any way to solve this in MSIE7?

© Stack Overflow or respective owner

Related posts about html

Related posts about css