img{ max-width:400px; _width:expression(documentElement.clientWidth > 400? "400px": "auto" );}
下边的expression是为了兼容ie6,ie7 8有max-width属性