TOC PREV NEXT INDEX

domref



window.outerWidth


Gets/sets the width of the outside of the browser window.

Syntax

window.outerWidth = iPx
 
iPx = window.outerWidth
 

Parameters

iPx is an integer representing the number of pixels.

Example

window.outerWidth = ( window.screen.availWidth );
 

Notes

As the snippet above demonstrates, the outerWidth property is very often used to size the browser to the available screen area. Contrast this with the innerWidth property, which controls the size of the content area of the browser.

See also window.screen, window.innerHeight, window.outerHeight

Specification

DOM Level 0. Not part of specification.
 


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