Have a look at Creating a Flexible Tumult Hype Document within a DIV with no set 'height' - #20 by MaxZieb