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.
Any ideas on how to i
document.getElementById ( "yourelementid" ).style.maxHeight = "100px";
See maxHeight Property
maxHeight was introduced in Windows Internet Explorer 7