CSS Overflow property with value "auto" allows the Div tag to control the content overflow along both directions i.e. vertical or horizontal automatically. If content exceed the height of the Div tag then it displays the vertical scroll and if content exceed the width of Div tag then it displays the horizontal scrollbar. If content is too large and exceeding width as well as height of the associated div tag then it shows both verical and horizontal scrollbars. See the sample below: