This is an archived page. It's not actively maintained.


This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-scroll-limit-y-max CSS property is a Microsoft extension that specifies the maximum value for the Element.scrollTop property.

Initial valueauto
Applies tonon-replaced block-level elements and non-replaced inline-block elements
Computed valueas specified
Animation typediscrete




The maximum value for the scrollTop property is equal to Element.scrollHeight.


The maximum value for the scrollTop property.

Formal syntax

  auto | <length>


Not part of any specification.


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.