<body onload="document.getElementById('a').style.height='100%';">
<div style="overflow:auto; width:200px; position:absolute; height:200px;">
<div id=a style="position:absolute; width:300px; background:green">
</div>