To enhance the appearance of the search bar in your design, it is possible to style it using only CSS without the need for background images. Below are key pieces of code that can help achieve this:
HTML Structure:
<div class="input-container">
<input type="text" />
<button>Search</button>
</div>
Styling for text input:
input[type="text"] {
box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
border-radius: 5px;
background-color: #fff;
}
Styling for the button:
button {
margin-left: -10%;
background-image: -webkit-linear-gradient(top, #117a03 0%, #287c15 100%);
border-radius: 0 5px 5px 0;
height: 32px;
padding: 0 5px;
border: 1px solid #bbb;
box-shadow: inset 0 1px 2px rgba(0,0,0,.3), 0 1px #fff;
color: #074F03;
text-shadow: 0px 1px #ccc;
font-weight: bold;
}
Remember to add vendor prefixes for CSS3 properties. This serves as a basic starting point but covers all essential aspects. You can view a working example in this fiddle: http://jsfiddle.net/J6Dvz/