I'm trying to resize the browser window so that it just fits the content, or has scroll bars if the content is longer than the screen height. (I create the content dynamically in ASPX)
I've put the following in a function and called it on body onload
but I get zero height. I've also tried with.Height and with a Div that encompasses the whole body, but still get zero height.