title: how to make an overlay over a bootstrap thumbnail?
body: <p>I'm using <a href="http://twitter.github.com/bootstrap/" rel="noreferrer">twitter bootstrap 2.1.1</a> with a responsive layout and I'd like to float a label in the bottom right hand corner of the image.  One of the problems i'm having is because it's responsive when the thumbnail is wider then the image it floats too far.  The other issue is I can't seem to get it to float to the right.  I should also add that although I want it in the right hand bottom corner I do want it offset by a few pixels to it isn't right on the edge of the image.  Also the text might always be photo missing, that is just when a default image is shown.</p>
  
  <p>Here is my html so far</p>
  
  <pre><code>&lt;li class="span4"&gt;
    &lt;div class="photo-group thumbnail"&gt;
      &lt;a href="/recipes/50500235aa113eb1870001d8" class="photo-wrapper"&gt; 
        &lt;img alt="300x200&amp;amp;text=photo" src="http://www.placehold.it/300x200&amp;amp;text=Photo"&gt;
        &lt;span class="label label-inverse photo-label"&gt;Photo Missing&lt;/span&gt;
      &lt;/a&gt;
      &lt;div class="caption"&gt;
        &lt;div class="pull-right"&gt;
          by &lt;a href="/users/50494983aa113ebd5c000001"&gt;
       hadees
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;a href="/recipes/50500235aa113eb1870001d8"&gt;Chocolate Crackle Cookies&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>and here is my css</p>
  
  <pre><code>.content-header {
      padding-bottom: 10px;
  }
  
  .thumbnail &gt; a &gt; img {
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
  }
  
  .photo-group .photo-wrapper {
    position: relative;
  }
  
  .photo-group .photo-wrapper .photo-label {
    position: absolute;      
    bottom: 0;
  }
  
  .photo-group .photo-wrapper .photo-label {
    float: right;
  }​
  </code></pre>
  
  <p>I've also got a <a href="http://jsfiddle.net/BuAWk/embedded/result/" rel="noreferrer">jsfiddle</a> for a better example.</p>
  
  <p>Maybe the right way to handle this is to just make the photogroup's max width 300 but I think that kind of looks funny on a desktop full screen.</p>