Forum Moderators: not2easy
.commentpic
{
max-height: 50px;
max-width: 50px;
height: expression(
this.scrollHeight > 50 ? "50px": "auto"
); /* IE6 */
}
This works, however the browser crashes basically and the user gets "(Not Responding)" message. Any help would be greatly appreciated.
While at it, please throw that expression where it belongs: in a conditional comment served on the the versions of IE that actually need it. [It's the only way to get rid of it and be able to have IE support proper standard CSS in their next version (or the one after it).