TOC PREV NEXT INDEX

domref



width


Returns the width of the current document in pixels.

Syntax

wdth = document.width
 

Parameters

wdth is the width in pixels.

Example

function init() {
 
  alert(document.width - 100);
 
}
 

Notes

extra information

Specification

width
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX