<html>
<div style="position:absolute; top:10px; left:10px; width:100px; height:100px; border: 10px solid black; background-color:red">
<div style="width:150px; height:150px; background-color: green">
</div>
</div>

<div style="position:absolute; top:10px; left:200px; width:100px; height:100px; overflow:hidden; border: 10px solid black; background-color:red">
<div style="width:150px; height:150px; background-color: green">
</div>
</div>

