Wrap the contents of the DIV viewport with another DIV. Set the DIV to read the height of all the content as such:
JQuery: $ ('div # contents'). height ();
Markup:
<div id="viewport"> <div id="contents">...all your div contents...</div> </div>
Hope this helps. Good luck.
Bryan allo
source share