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
To make the animation time match what is expected, I would use el.scrollHeight to find the required height of the element.
el.scrollHeight