Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft