<style type="text/css">
#div-1 {
 position:absolute;
 margin-left:1000px;
 margin-top:0px;
 width:100px;
 height:500px;
}

#div-2 {
 position:fixed;
 margin-left:1000px;
 margin-top:0px;
}

</style>