---
title: Element.scrollLeftMax
slug: Web/API/Element/scrollLeftMax
tags:
  - API
  - CSSOM View
  - Element
  - Non-standard
  - Property
  - Read-only
  - Reference
browser-compat: api.Element.scrollLeftMax
---
{{APIRef("DOM")}}{{Non-standard_header}}

The **`Element.scrollLeftMax`** read-only property returns a
{{jsxref("Number")}} representing the maximum left scroll offset possible for the
element.

## Syntax

```js
var pxl = element.scrollLeftMax;
```

## Specifications

_This property is not part of any specification._

## Browser compatibility

{{Compat}}

## See also

- {{domxref("Element.scrollTopMax")}} giving the same information for the other axis.
