W3cubDocs

/CSS

-ms-scroll-limit-x-max

Non-standard
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-x-max CSS property is a Microsoft extension that specifies the maximum value for the Element.scrollLeft property.

Initial value auto
Applies to non-replaced block-level elements and non-replaced inline-block elements
Inherited no
Media interactive
Computed value as specified
Animation type discrete
Canonical order the unique non-ambiguous order defined by the formal grammar

Syntax

Values

auto

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

<length>

The maximum value for the scrollLeft property.

Formal syntax

  auto | <length>

Specifications

Not part of any specification.

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.

This property requires Windows 8 or later.

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-scroll-limit-x-max