Sorry, for dumb question but why doesn’t work height? :D
`clientHeight` is read-only, try
document.getElementById(‘block’).style.height = h + ‘px’;
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".