CSS Overflow || Not Another Script Required

CSS Overflow 


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. 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.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. 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. 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.


 <!-- css code start-->
<style>
div.z1 {
  background-color: lightblue;
  width: 500px;
  height: 400px;
  overflow: scroll;
}
</style>
<!-- css code end-->

 <!-- html code start-->
<div class="z1">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</div>
 <!-- html code end-->