Visit Mozilla.org

DOM:document.height

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

Returns the height of the body element of the current document.

[edit] Syntax

height_value = document.height

[edit] Parameters

  • height_value is the number of pixels.

[edit] Example

// alert document height
alert(document.height);

[edit] Notes

See also document.width.

[edit] Specification

DOM Level 0. Not part of any standard.