Return to Snippet

Revision: 25201
at March 23, 2010 09:13 by tennison


Initial Code
<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}

Initial URL

                                

Initial Description
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

Initial Title
ie7 input background-image scrolling

Initial Tags

                                

Initial Language
CSS