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