CSS Property: overflow
[this page | pdf | back links]
The CSS (CSS2) overflow property indicates what
happens when content overflows an element’s box.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
auto
|
Overflow is clipped and
a scroll-bar should typically be added
|
|
hidden
|
Overflow is clipped. No
scroll-bar is added, so rest of content is effectively invisible
|
|
scroll
|
Overflow is clipped and
a scroll-bar is added
|
|
visible
|
(default value).
Overflow is not clipped and is rendered outside the element’s box
|
|
Default Value:
|
visible
|
|
JavaScript syntax:
|
e.g. object.style.overflow="scroll"
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties