title: Div container still keeps sized of original image size when transform is used
body: <p>I have The following code:</p>
  
  <pre><code>&lt;div style="text-align:center;"&gt;
     &lt;img src="http://imgurl" style="transform: scale(0.5);"/&gt;
     &lt;div&gt;img name&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>problem is that original img size is 510x255px;</p>
  
  <p>After transform image is resized but div keeps still 510x255.</p>
  
  <p>How to make it resized?</p>
  
  <p>Thanks,</p>