Screen availHeight Property
Screen Object
Definition and Usage
The availHeight property declares the available height of the screen that displays the browser, in pixels. In operating systems such as Windows, this available height does not include the vertical space allocated to semi-permanent features (such as the taskbar at the bottom of the screen).
Syntax
screen.availHeight
Browser support





All major browsers support the availHeight property
Example
Example
Return the available height of the screen:
The output of the above example is:
Try it »
More examples
All screen properties in one example
Screen object