Resizing a webview to fit it's contents

Hi,

I’d like to have my webview automatically change size in it’s window to fit the size of it’s contents, so that there should never be a need to scroll. I don’t know where to start with this so I’m afraid I don’t have any code to show you to get you started, but I’d appreciate any help you can give.

Thanks,

Lambo