I am developing my first HTML5 / CSS3 website, and I want to do everything I can, correctly and with good methods, and be useful.
I need to reproduce the following entry to search on this website:

What I do not know how to do is to implement the background of the image, or if the image should be <input type="image" />.
At the moment, I am as follows:
#header-search input {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border:1px solid #8e8e8e;
background-color:#f5f5f5;
height:16px;
padding:4px;
color:#4a4a4a
}
This creates an entrance with the same radius, and the entire area is entered. There is no room for a magnifying glass, and if it was a background, the image cannot be pressed. At this point, which is better? Let the input only start or ... how do you do it?
In any case, you will do it, please tell me.
Thank you in advance!
source
share