<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
#pic{ margin:0 auto; 740px; padding:0;}
#pic img{ max-740px; expression_r(document.body.clientWidth>document.getElementByIdx_x_x("pic").scrollWidth*9/10? "740px": "auto" );}
</style>
</head>
<body>
<div id="pic" style="740px;">
<img id="img" src="http://f.hiphotos.baidu.com/image/pic/item/bd3eb13533fa828bd30590f5fe1f4134970a5a85.jpg" alt="" runat=server/>
</div>
</body>
</html>
测试谷歌 ie8、10都能用。