title: CSS image sizing
body: <p>I'm creating an ePub, and I'd like the images to span the full width of the page, but to never be taller than 100% of the height of the page.</p>
  
  <p>Ideally, if the image was taller than the page (and therefore clipped) then it would instead be scaled to 100% height of the page, the width scaling accordingly.</p>
  
  <p><code>max-height</code> seems to just squash the image out of proportion, any ideas?</p>