Looking to re-size any div dynamically based on your browser height then this code can be useful!
Add this code in the HTML head area.
{code type=Javascript}
{/code}
In your body area, add this HTML code,
{code type=html}
.
.
.
.
{/code}
Now check this code in various browsers/screen resolution, you will see the div automatically re-sizes.
Happy coding!