(Translated by https://www.hiragana.jp/)
width Property (screen)
The Wayback Machine - https://web.archive.org/web/20080323154001/http://msdn2.microsoft.com:80/en-us/library/ms535144(VS.85).aspx
Click to Rate and Give Feedback
Properties
 width Property
width Property

Retrieves the horizontal resolution of the screen.

Syntax

[ iWidth = ] screen.width

Possible Values

iWidthInteger that receives the horizontal resolution, in pixels.

The property is read-only. The property has no default value.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

screen

See Also

availWidth, height
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker