How can I align a search icon within an input field (floating in the center on the right side)? I looked around and found some stuff about using it as a background image, not sure how to do this though.
.search {
border: #cccccc solid;
border-width:2px;
padding:9px;
font-size:24pt;
border-radius:10px;
margin:0;
padding-left:30px;
height:54px
}
.search:focus {
outline:none;
}
#search {
position:relative;
padding:0;
margin:0;
}
#srch_icon {
height:32px;
width:32px;
}
<div id="search">
<input type='text' class='search left'>
<img src="search.png" id="srch_icon">
</div>