how can I set de maximum height of an dynamic div tag created using javascript, in internet explorer 6
I tried with this
Element.style.maxHeight=”200px”
but it is not working in internet explorer 6.0, it works just fin in Google Chrome or M Firefox
Any idea?
Any help would be much appreciated! Thanks!
IE6 does not have support for max-height attribute. You can use javascript expressions such as:
to get the same effect. Please note the client needs to have javascript enabled for it to work though.
Example: http://jsfiddle.net/niklasvh/fQpYj/