-ms-scroll-limit-x-max property

Specifies the maximum value for the scrollLeft property.

This property is read/write.

Syntax

-ms-scroll-limit-x-max: auto | <length>

Property values

One of the following values.

auto

The maximum value for the scrollLeft property is equal to scrollWidth.

length

The maximum value for the scrollLeft property.

CSS information

Applies Tonon-replaced block-level elements and non-replaced inline-block elements
Mediainteractive
Inheritedno
Initial Value0

Remarks

This property has no effect on non-scrollable elements.

The specified behavior of the -ms-scroll-limit-x-max property is only applicable at a msContentZoomFactor of 1; the behavior of this property is undefined at other zoom factors.

See also

CSSStyleDeclaration
Windows Store apps using JavaScript Samples: HTML scrolling, panning and zooming sample
Internet Explorer Samples: Scrolling, panning, and zooming with touch input

 

 

Show:
© 2014 Microsoft. All rights reserved.