css scroll in element code example
Example 1: how to make a div scrollable
<div id="" style="overflow:scroll; height:400px;">
Example 2: css no overflow
div.ex1 {
overflow: scroll;
}
div.ex2 {
overflow: hidden;
}
div.ex3 {
overflow: auto;
}
div.ex4 {
overflow: visible;
}