We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Jump to:

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Returns the distance in pixels from the left side of the main screen to the left side of the current screen.


varleft = window.screen.left;


See also window.screen.top.

Document Tags and Contributors

Contributors to this page: cvrebert, Sebastianz, teoli, MHasan, namolmes, Sheppy, Mgjbot, Nickolay, Jabez, Gor1
Last updated by: cvrebert,