-ms-overflow-x property
Sets or retrieves how to manage the content of the object when the content exceeds the width of the object.
Syntax
-ms-overflow-x: visible | scroll | hidden | auto
Property values
visible-
Default. Content is not clipped and scroll bars are not added. Elements are clipped to the size of the containing window or frame.
scroll-
Content is clipped and scroll bars are added, even if the content does not exceed the dimensions of the object.
hidden-
Content that exceeds the dimensions of the object is not shown.
auto-
Content is clipped and scrolling is added only when necessary.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
There are no standards that apply here.
Remarks
Windows Internet Explorer 8. The -ms-overflow-x attribute is an extension to CSS, and can be used as a synonym for overflow-x in IE8 Standards mode.
With Microsoft Internet Explorer 6 and later, when you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.
See also
- CSSStyleDeclaration
- currentStyle
- defaults
- runtimeStyle
- style
- Reference
- overflow
- -ms-overflow-y
- position
- Other Resources
- CSS Enhancements in Internet Explorer 6
Send comments about this topic to Microsoft
Build date: 11/29/2012