CSS Property: overflow-y
[this page | pdf | back links]
The CSS (CSS2) overflow-y property indicates what to
with top/bottom edges of content overflowing 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 may be rendered outside the element’s box
|
|
Default Value:
|
visible
|
|
JavaScript syntax:
|
e.g. object.style.overflowY="scroll"
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties