HTML and CSS Reference
In-Depth Information
Name
overflow-x
Values:
visible
|
hidden
|
scroll
|
auto
|
no-display
|
no-content
Initial value:
visible
Applies to:
Nonreplaced elements with a
display
value of
block
or
inline-block
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the overflow behavior along the horizontal (X) axis of the element; that is, the left and
right edges of the element.
Examples:
#masthead {overflow-x: hidden;}
object {overflow-x: visible;}
Note:
As of mid-2011,
no-display
and
no-content
were not supported by any major browser.