title: HTML button with search icon?
body: <p>I'm trying to create a search button containing nothing but the magnifying glass search icon.</p>
  
  <p>Code is below</p>
  
  <pre><code>&lt;div class="searchbox"&gt;
  &lt;form&gt;
      &lt;span&gt;&lt;input type="text" class="search square" placeholder="Search..."&gt;
              &lt;input type="button" value="&amp;#xf002;"&gt;
  
  &lt;/span&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After reading all the posts on the topic I could find I've also tried the following 3 options in line 4</p>
  
  <pre><code>&lt;input type="button" value="filepath/icon.png"&gt;
  &lt;i class="icon-search icon-2x"&gt;
  &lt;i class="icon-search"&gt;&lt;/i&gt;&lt;/button&gt;
  </code></pre>
  
  <p>as well as this html</p>
  
  <pre><code>&lt;input type="button" value="Search" class="button_add"&gt;
  </code></pre>
  
  <p>with this css</p>
  
  <pre><code>input.button_add {
      background-image: url(filepath/icon.png); 
      background-color: transparent; 
      background-repeat: no-repeat;  
      background-position: 0px 0px;  
      border: none;           
      cursor: pointer;        
      height: 50px;           
      width: 50px;
      padding-left: 16px;     
      vertical-align: middle;     
  }
  </code></pre>
  
  <p>None of them have worked.  I've also updated font awesome based on these tutorials 
  <a href="http://cirquedumot.com/font-awesome/" rel="nofollow">http://cirquedumot.com/font-awesome/</a> and <a href="http://www.youtube.com/watch?v=BdyI6T-_7ts" rel="nofollow">http://www.youtube.com/watch?v=BdyI6T-_7ts</a></p>
  
  <p>Any help on what I'm doing wrong would be much appreciated.</p>