title: Why browser is returning empty string on style.height ? How to get actual height of an element?
body: <p>Simple one line of html:</p>
  <p><code>&lt;div onclick=&quot;alert(this.style.height)&quot;&gt;sometext&lt;/div&gt;</code></p>
  <p>and alert gives:</p>
  <p><a href="https://i.stack.imgur.com/05x7C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/05x7C.png" alt="" /></a></p>
  
  <p>but it should be like <code>10px</code> or sth like that.</p>