how to fix the height of a div code example
Example: how to get the height of a div in css
var clientHeight = document.getElementById('exampleElement').clientHeight;
alert(clientHeight);
var offsetHeight = document.getElementById('exampleElement').offsetHeight;
alert(offsetHeight)