The overflow Property
overflow: auto with Scroll Bar
As you can see in the example above, the same overflow:auto is applied to both the divs. Only that div has the scroll bars visible that contain overflow.
overflow: auto with no Scroll Bar
The other div has no scroll bars because the content fits inside the container.