Following an example: http://jsfiddle.net/UcQ39/
HTML:
<div id="test" class="test">Test</div>
CSS:
.test{height: 90px; border: 1px solid black;}
Javascript:
alert(document.getElementById('test').style.height);
I want to show the height
or another property of the div but the alert is empty. How to solve? The height is in a class, i don't want to move it in a id.