Name
overflow
Synopsis
This defines what happens to content that overflows the content area of an element. For the value scroll, user agents are supposed to provide a scrolling mechanism whether or not it is actually needed; thus, for example, scrollbars would appear even if all content is able to fit within the element box.
Values:
visible
| hidden
|
scroll
| auto
|
inherit
Initial value:
visible
Applies to:
block-level and replaced elements
Inherited:
no
Computed value:
as specified
Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.