<html>
<head>
<style>
div {
background-color: #eee;
width: 200px;
height: 100px;
border: 1px dotted black;
overflow: scroll;
}
</style>
</head>
<body>
<h2>CSS Overflow</h2>
<p>Setting the overflow value to scroll, the overflow is clipped and a scrollbar is added to scroll inside the box. Note that this will add a scrollbar both horizontally and vertically (even if you do not need it):</p>
<div>You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.</div>
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_overflow_scroll by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:03:42 GMT -->
</html>