I have applied an image background to the search box using its ID.
Its funny but when i type inside the search box as the text reaches the end of the box it start moving the background image to the left but only in IE6 (which i can ignore) and IE7 (which i cannot), in all the other browsers it works perfectly.
Please run this code and see what happens. If nothing else its funny.
and if u know how to rectify this then plz lemme know.
Thanks!
HTML CODE
<form id="searchform">
<fieldset class="search">
<input type="text" id="box" />
<button id="btn" title="Submit Search">Search</button>
</fieldset>
</form>
CSS CODE
fieldset.search
{border: none; width: auto;}
.search input, .search button
{border: none; float: left;}
.search input#box
{position:relative; color: #fff; font-size: 1.2em; width: 190px; height: 33px; padding: 6px 0 0 4px; background: url('../images/search-bg.png') no-repeat; }
.search button#btn
{width: 73px; height: 33px; cursor: pointer; text-indent: -9999px; background: url('../images/search-btn-bg.png') no-repeat;}