需要修改 .a_image 样式定义, 比如:
[code].a_image {-ms-interpolation-mode:bicubic;margin-bottom:6px;margin-top:6px;max-width:620px;cursor:pointer; zoom:expression( function(elm) { if (elm.width>620) { var oldVW = elm.width,oldVH=elm.height*(691.5 /oldVW); elm.width=620; elm.height = oldVH; }}(this)); }[/code]
资料
-ms-interpolation-mode IE 7.0+私有CSS属性
更多的测试可以到可以到[URL=http://samples.msdn.microsoft.com/workshop/samples/author/css/msInterpolation.htm]MSDN做的例子看一下效果[/URL]
演示:
[IMG]http://leadbbs.com/images/face/0218.gif[/IMG]
[IMG=0,absMiddle,525,850]http://leadbbs.com/images/face/0218.gif[/IMG] |