2011-03-11 56 views

回答

0

尝试

$(document).ready(function(){ 
    var docWidth = $(document).width(); 
    var docHeight = $(document).height(); 

    $(".scroll").css({ 
     "height":docHeight, 
     "width":docWidth 
    }); 
}); 

值可能需要在像素并不%。