Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
}
.ex1 {
  background-color: lightblue;
  width: 150px;
  height: 100px;
  overflow:auto;
}
</style>
</head>
<body>
<h1>The overflow property</h1>
<div id="myDIV">
  <div class="ex1">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</div>
</div>
</body>
</html>