TOC PREV NEXT INDEX

Put your logo here!


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

html


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX