I have to maintain scroll for only my table which is inside div tag.
 in table have 500 entries so its bad habit to give scroll to page.
 so i m maintainig vertical scroll to only div and no scroll for page.
 and for any resolution i use javascript code.
 i have to maintain table bottom aligned.
 Means in whole page i will scroll only div contents.
 i used below code it give me scroll to div tag but scroll to page also getting.
 i m using master page.

```
    <div id="divScroll" style="width: 100%;">
        <table id="tableWorkList" class="csstablelist" cellspacing="1" cellpadding="1">
        <tr>
            <td></td>
    ....</tr>//**500 rows in table**
    </table>
    </div>

function resolutionIndependent()
        {
            var myHeight;
            if (document.body && document.body.offsetWidth)
            {
                myHeight = document.body.offsetHeight;
            }
            if (document.compatMode == 'CSS1Compat' && document.documentElement && document.documentElement.offsetWidth)
            {
                myHeight = document.documentElement.offsetHeight;
            }
            if (window.innerWidth && window.innerHeight)
            {
                myHeight = window.innerHeight;
            }
            var divScroll = document.getElementById('divScroll');
            divScroll.style.height = parseFloat(myHeight) + 'px';
            divScroll.style.overflow = "auto";
        }

```