Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

Window: outerHeight property

BaselineWidely available

TheWindow.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, seewindow.resizeBy() andwindow.resizeTo().

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

Graphical example

The following figure shows the difference betweenouterHeight andinnerHeight.

innerHeight vs. outerHeight illustration

Specifications

Specification
CSSOM View Module
# dom-window-outerheight

Browser compatibility

See also

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp