title: background-size: cover on divs instead of background
body: <p>I have a number of divs of certain, knows sizes. The pictures that I would like to use as background differ in size so, I was thinking to use background-size:cover to make sure that the images inside sort of look good instead of being stretched or shown just a part of them.</p>
  
  <p>But I cannot find the way to accomplish this. Another reason why this is not working is that I have the <em>need</em> to assign the background-image property inline only.</p>
  
  <p>Does anyone have any idea on how to use background-size:cover on something that is actually not the whole viewport, but just a div?</p>
  
  <p>Thanks in advance</p>