$("img").each(function(){
        if($(this).width() > $(this).parent().width()) {
                $(this).width("100%");
        }
});
posted on 2009-05-12 09:09  笑傲江湖  阅读(1164)  评论(1)    收藏  举报