overflow-x, overflow-y | NN n/a IE 5(Win) CSS n/a
| Inherited: No
Defines how the element treats content with rendered dimensions that exceed the specified width (x) or height (y) of the container. The operation of this IE/Windows attribute is the same as the regular overflow attribute, but each one operates along a single axis. This is particularly helpful if you want to have only a vertical or only a horizontal scrollbar appear with an element. See the overflow attribute discussion.
CSS Syntax
    overflow-x: overFlowType
    overflow-y: overFlowType
Value
Any of the following constants: auto | hidden | scroll | visible.
Initial Value
visible
Example
    body {overflow-x:hidden; overflow-y: scroll}
Applies To
Block-level, replaced, and positioned elements.
Object Model Reference
    [window.]document.getElementById("elementID").style.overflowX
    [window.]document.getElementById("elementID").style.overflowY