-ms-scroll-limit-y-max property
Specifies the maximum value for the scrollTop property.
This property is read/write.
![]() |
Syntax
-ms-scroll-limit-y-max: auto |
<length>
Property values
One of the following values.
auto-
The maximum value for the scrollTop property is equal to scrollHeight.
- length
-
The maximum value for the scrollTop property.
CSS information
| Applies To | non-replaced block-level elements and non-replaced inline-block elements |
|---|---|
| Media | interactive |
| Inherited | no |
| Initial Value | 0 |
Remarks
This property has no effect on non-scrollable elements.
The specified behavior of the -ms-scroll-limit-y-max 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
- CSSStyleDeclaration
- Windows apps using JavaScript Samples: HTML scrolling, panning and zooming sample
- Internet Explorer Samples: Scrolling, panning, and zooming with touch input
Show:
