title: Adding number label on top of an image
body: <p><strong>EDIT</strong></p>
  
  <p>I've added this css to <code>span.label</code> using <a href="http://jsfiddle.net/uc8jc/2/" rel="nofollow noreferrer">this fiddle</a></p>
  
  <pre><code>span.label{
  
          width:100px; color:#FFFFFF; 
          background-color:#F43B05; 
          float:right; padding:3px; 
          position:absolute; top:50px; left:5px;
  }
  </code></pre>
  
  <p>And I've got this:</p>
  
  <p><a href="https://i.stack.imgur.com/gdHQ3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdHQ3.jpg" alt="enter image description here"></a></p>
  
  <p>I need to put a label on an image using bootstrap.</p>
  
  <p>I have this image with a label:</p>
  
  <p><a href="https://i.stack.imgur.com/u6GOi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u6GOi.jpg" alt="enter image description here"></a></p>
  
  <p>And here is the code for it:</p>
  
  <pre><code>&lt;span class="label label-success"&gt;4&lt;/span&gt;
  
  &lt;input class="img1" type="image" style="width:60px;height:60px" src="../images/molar_left_t.png" id="oone" name="one" alt="button"/&gt;
  
  &lt;div title="3rd Molar - Upper Rigth Jaw" id="div_one" class="collapse"&gt;&lt;?php echo $resTeeth['one'] ?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>But this is not what I want. What I want is to add this number <code>4</code> green label on top of the image and not on the side of it.</p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;span class="label label-danger"&gt;4
  &lt;input class="img1" type="image" style="width:60px;height:60px" src="../images/molar_left_t.png" id="oone" name="one" alt="button"/&gt;
  &lt;div title="3rd Molar - Upper Rigth Jaw" id="div_one" class="collapse"&gt;&lt;?php echo $resTeeth['one'] ?&gt;
  &lt;/div&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>And I've got this:</p>
  
  <p><a href="https://i.stack.imgur.com/wWPcA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wWPcA.jpg" alt="enter image description here"></a></p>