8
I’m trying to make a search field with an icon using Font Awesome, I want it to look like this:

but he gets like this:

What is the best way to put the button within the input?
HTML:
<form>
<input type="search" />
<button type="submit">
<i class="fa fa-search"></i>
</button>
</form>
Use an image as input background. I don’t know how to do with fontawesome, but the principle is this.
– bfavaretto