IE si max-height , min-height

Ca sa ne ia si IE-ul parametri max-height si min-height facem asa:

.class

{

    height: expression(this.scrollHeight > 139 ? "140px" : "auto"); /* pentru  ie*/
    max-height:140px;

}

.class2

{

    height: expression(this.scrollHeight < 480 ? "480px" : "auto");
    min-height:480px;

}

Leave a Reply

Your email address will not be published. Required fields are marked *