I have a document like this:
<html>
<head>
<style>
div.result {
height: 500px;
overflow: auto;
width: 900px;
}
</style>
<div class="options"></div>
<div class="result">
<table>
<!--here I have large table-->
</table>
</div>
This gives me a fixed size box with scrollbars.
I would like my result box to take rest of available size in browser and still have scrollbars(if there are necessary)
So that my options div will stay on top and below will be another div having width of 100% and height of remaining browser height.
Is it possible?
This is the result I would like to get:

So when I resize browser scrollbars will be on right and on bottom, something like iframe.
You can set absolute sizes and positions to your options and result elements:
This should work fine.