<script> function objscroll(id,amount){ var obj=document.getElementById(id) obj.scrollTop=obj.scrollTop+amount } </script> <div> <div id=d style=width:200px;height:300px;overflow:auto> <div style=width:180px;height:1000px;background:blue></div> </div> <input type=button value=up onclick=objscroll('d',-10)> <input type=button value=down onclick=objscroll(..