• 用css控制图片最大尺寸

    <style type=”text/css”>
    <!–
    img,a img{
    border:0;
    margin:0;
    padding:0;
    max-width:650px;
    width: expression(this.width > 650 && this.width > this.height ? 650px : ‘auto’;);
    max-height:1650px;
    height: expresion(this.height > 1650 ? 1650px : ‘auto’;);
    } –>
    </style>