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

The **`Element.scrollTopMax`** read-only property returns a
number representing the maximum top scroll offset possible for the
element.

## Syntax

```js
var pxl = elt.scrollTopMax;
```

## Specifications

_This property is not part of any specification._

## Browser compatibility

{{Compat}}

## See also

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