<!DOCTYPE html>
<div style="overflow:auto; width:200px; position:absolute; height:200px;">
<div style="position:absolute; width:300px; height:100%; background:green">
</div>