CodePen

HTML

            
              <div class="holder">
  <figure>
    <img src="http://lorempixel.com/output/food-q-c-500-500-5.jpg" alt="" />
    <figcaption>
      <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> 
    </figcaption>
  </figure>
</div>

            
          
!

CSS

            
              .holder {
  width:960px;
  margin:25px auto;
  background:lightgrey;
}

figure {
  background:lightgrey;
  border:1px solid grey;
  position:relative;
  margin: 0 auto;
  width: 500px; /* image width */
}

figure > img {
  display:block;
}

figcaption {
  background:lightblue;
  padding:10px;
  position:absolute;
  top: 50%; /* or anything you want */
}
            
          
!

JavaScript

            
              
            
          
!
999px
Loading ..................