title: Positioning text relative to an image when the image size changes
body: <p>I'm trying to think of a clever way to deal with a part of a webpage where the image is going to be swapped out with different images (of varying widths, max being 620px wide), and a text caption is absolutely positioned over it.  I want the text to absolutely position based on the width of the image rather than the width of the relatively positioned container.</p>
  
  <p>I was thinking maybe something with background-image, rather than an image itself, but then I have to deal with the fact that it's an empty div with a background image, so I'd have to hardcode a height, which wouldn't work since some of these images would be taller than others.</p>
  
  <p>Any solutions you guys can think of would be greatly appreciated.  Thanks!</p>