Posts by William Pereira • 3,998 points
51 posts
-
5
votes1
answer9060
viewsA: How to take the height of the div, leasing it to the nearest multiple of 24 and apply the result in the style="height" of the div itself?
You can use these two to catch the height of the div: var alturaAtual = document.getElementById('teste').clientHeight; or var alturaAtual = document.getElementById('teste').offsetHeight; the…
javascriptanswered William Pereira 3,998