So, I have a box that I want to use as my search box/input box. Although when I type on it, I can type on the whole image.
What I want to do, is to be only able to type in the white space of the image? Would I add padding to it?
This is my CSS:
input.searchbox {
background-color: #fff;
background:url(search.png) no-repeat;
width:250px;
height:41px;
border:none;
font-size:20px;
}
And here is my HTML:
<input type="text" class="searchbox" size="20" value="{Q}">
Also, how would I change the text size within the box?