Firefox Tomorrow

web api instance property

Window: outerHeight property

View on MDN ↗

The Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.

Notes

To change the size of a window, see resizeBy() and resizeTo().

To get the inner height of a window, i.e., the height of the page being displayed, see innerHeight.

Graphical example

The following figure shows the difference between outerHeight and innerHeight.

innerHeight vs. outerHeight illustration

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also