[jQuery] absolute beginner! How to set page width to window width?

[jQuery] absolute beginner! How to set page width to window width?


Hello :)
Thanks for the multitude of helpful threads you people post!
Before trying something gorgeous with jQuery, I thought I should try
something basic - like setting the width of my #pagewrap div to the
inner width of the user's window. I can't do it right!
Please will you show me how to do it? And, if you're feeling generous,
how to make it resize if the user resizes their viewport?
Cheers -
Cherry.