Hi,
Got a bit of an annoying one here
I have this HTML:
<form method="get" id="searchform" action="">
<fieldset class="search">
<input type="text" class="box"/>
<button class="btn" title="Submit Search"></button>
</fieldset>
</form>
…and the following CSS:
fieldset.search {
border: none;
float: right;
width: 256px;
margin: 0 auto;
background: #FFFFFF;
padding: 40px 30px 1px 3px;
}
.search input, .search button {
border: none;
float: left;
}
.search input.box {
border: none;
color: #6A6A6A;
font-size: 1.2em;
width: 187px;
height: 30px;
padding: 0 0 0 0;
background: #FFFFFF url(images/search_04.png) no-repeat right bottom;
margin-top: 9px;
margin-right: 6px;
}
.search button.btn {
width: 42px;
height: 42px;
cursor: pointer;
text-indent: -9999px;
background: #FFFFFF url(images/magnifying-glass.jpg) no-repeat top right;
}
.search button.btn:hover {
background: #FFFFFF url(images/magnifying-glass2.jpg) no-repeat bottom right;
}
…and the 2 images:
http://ultradev.com.nmsrv.com/magnifying-glass.jpg
http://ultradev.com.nmsrv.com/magnifying-glass2.jpg
This all works fine, with one little exception. I wanna add a few pixels padding to the left of the input.
Can anyone suggest a way for me? =)
TIA