title: Set max-height using javascript
body: <p>I have a div, and the maximum width for this div is user defined. I know I can get it done using element.style.height but this doesn't work in IE.</p>
  
  <p>Any ideas on how to implement the max-height equivalent of Firefox by using javascript?</p>