Here the total height of all \'s are 900 pixels, but the jQuery function returns the height of the body as 577 pixels. (If I remove the body CSS, it\
\'s are 900 pixels, but the jQuery function returns the height of the body as 577 pixels. (If I remove the body CSS, it\
$(document).height() seems to do the trick and gives the total height including the area which is only visible through scrolling.