The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

-ms-scroll-limit property

Specifies values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.

This property is read/write.


-ms-scroll-limit: -ms-scroll-limit-x-min -ms-scroll-limit-y-min -ms-scroll-limit-x-max -ms-scroll-limit-y-max

Property values

One or more of the following scroll limit values, in order, separated by spaces.


Value of the -ms-scroll-limit-x-min property.


Value of the -ms-scroll-limit-y-min property.


Value of the -ms-scroll-limit-x-max property.


Value of the -ms-scroll-limit-y-max property.

CSS information

Applies Tonon-replaced block-level elements and non-replaced inline-block elements
Initial Value(see individual properties)


This property has no effect on non-scrollable elements.

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

This property requires Windows 8 or later.

See also

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