width property

Gets the horizontal resolution of the screen.

Syntax

JavaScript

p = object.width

Property values

Type: Integer

The horizontal resolution, in pixels.

Standards information

See also

screen
Reference
availWidth
height

 

 

Show:
© 2014 Microsoft. All rights reserved.