--- title: Window.screenX slug: Web/API/Window/screenX tags: - API - Propriété - Window - lecture seule translation_of: Web/API/Window/screenX ---
La propriété Window.screenX retourne la distance honrizontale, in CSS pixels, of the left border of the user's browser from the left side of the screen.
lLoc = window.screenX
lLoc is the number of CSS pixels from the left side the screen.| Specification | Status | Commentaire |
|---|---|---|
| {{ SpecName('CSSOM View', '#dom-window-screenx', 'Window.screenX') }} | {{ Spec2('CSSOM View') }} | Définition initiale |
{{Compat("api.Window.screenX")}}