/ Published in: CSS

in ie6 + ie7 when the content on an input exceeds the length the background-image will scroll, solution is to have a container around the input or limit characters to length
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<span class="inputText"> <input type="text" value="" /> </span> /*css*/ .inputText {background:url(x.png) no-repeat scroll 0 0;} .inputText input {background:none; border:0px none}
Comments
