CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
Sorry, for dumb question but why doesn’t work height? :D
This reply has been reported for inappropriate content.
clientHeight is read-only, try
document.getElementById(‘block’).style.height = h + ‘px’;
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed