--- title: Element.scrollLeftMax slug: Web/API/Element/scrollLeftMax translation_of: Web/API/Element/scrollLeftMax ---
{{APIRef("DOM")}}{{Non-standard_header}}
这个 Element.scrollLeftMax
是只读的属性返回一个 {{jsxref("Number")}} 表示一个元素横向滚动条可滚动的最大距离。
var pxl = elt.scrollLeftMax;
这个属性还没纳入规范.
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{ CompatNo() }} | {{ CompatGeckoDesktop(16) }} | {{ CompatNo() }} | {{ CompatNo() }} | {{ CompatNo() }} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{ CompatNo() }} | {{ CompatGeckoMobile(16) }} | {{ CompatNo() }} | {{ CompatNo() }} | {{ CompatNo() }} |