CSS TUTORIALS - CSS - Scrollbars
CSS - Scrollbars
ADVERTISEMENTS
Value | Description |
---|---|
visible | Allows the content to overflow the borders of its containing element. |
hidden | The content of the nested element is simply cut off at the border of the containing element and no scrollbars is visible. |
scroll | The size of the containing element does not change, but the scrollbars are added to allow the user to scroll to see the content. |
auto | The purpose is the same as scroll, but the scrollbar will be shown only if the content does overflow. |
ADVERTISEMENTS
|
ADVERTISEMENTS
Example of scroll value:
I am going to keep lot of content here just to show you how scrollbars
works if there is an overflow in an element box. This provides your
horizontal as well as vertical scrollbars.
Example of auto value:
I am going to keep lot of content here just to show you how scrollbars
works if there is an overflow in an element box. This provides your
horizontal as well as vertical scrollbars.
|