<!DOCTYPE HTML>
<html>
<body>
<div style="width:400px; height:300px; overflow:hidden; border:2px solid black">
<div style="height: 150px"></div>
<div style="width: 100px; height: 100px; background-color: green"></div>
</div>