Hi everyone,
There is a well known hack to use in stylesheet to replace max-height in internet explorer.
When I use it on a DIV, there is no problem, but when I try to apply it to an IMG, internet explorer freezes in an infinite loop.
I found that some people have resolved it by giving non identical values, like this:
But it still doesn't work on my image, someone can help me with that ?
There is a well known hack to use in stylesheet to replace max-height in internet explorer.
Code:
height:expression(this.scrollHeight > 100 ? "100px" : "auto");
When I use it on a DIV, there is no problem, but when I try to apply it to an IMG, internet explorer freezes in an infinite loop.
I found that some people have resolved it by giving non identical values, like this:
Code:
height:expression(this.scrollHeight > 102 ? "100px" : "auto");
But it still doesn't work on my image, someone can help me with that ?