2010-11-02 80 views

回答

3

您需要使用function callback signature of .width

$('.item').width(function() { 
    return $(this).parent().width(); 
}); 
+0

感謝,我這樣做是正確的話,這是我的CSS問題,它只有在MSIE7零寬度。 – 2010-11-02 19:43:43

相關問題