Best way is this:
Code:
#searchbox {
width: 163px;
height: 119px;
background-image: url(CFG_Masthead_LeftSideBar.gif);
background-repeat: no-repeat;
background-position: center;
}
Remove img tag from this div, and you may want to give it an id of 'searchbox' or something to control it selectively, like I have suggested in the css above.
Code:
<div class="image_float" id="searchbox">
<form id="search" action="search.html">
<input type="text"><input type="button" value="go">
</form>
</div>
Lastly - you may want to put all your assets into folders for easier maintenance. Images should be in images folder, css files should go in css folders... this is not required, but for organization its a must.
Bookmarks