<!DOCTYPE HTML> <html> <body> <div style="overflow:auto; width:300px; height:300px; background:green;"> <div style="height:100px;"></div> <div style="height:200px; margin-left:100px; margin-right:100px; width:100px; background:yellow;"></div> </div> </body> </html>