Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

overflowX property

Sets or retrieves how to manage the content of the object when the content exceeds the width of the object.

Syntax

Integer value = object.put_overflowX( v);Integer value = object.get_overflowX(* sOverflow);

Property values

Type: BSTR

visible (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 (scroll)

Content is clipped and scroll bars are added, even if the content does not exceed the dimensions of the object.

hidden (hidden)

Content that exceeds the dimensions of the object is not shown.

auto (auto)

Content is clipped and scrolling is added only when necessary.

String format

visible | scroll | hidden | auto

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

There are no standards that apply here.

Remarks

Windows Internet Explorer 8. The IHTMLCSSStyleDeclaration::overflowX 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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLCSSStyleDeclaration::overflow
IHTMLCSSStyleDeclaration::overflowY
IHTMLCSSStyleDeclaration::position
Other Resources
CSS Enhancements in Internet Explorer 6

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.