--- title: Window.screenX slug: Web/API/Window/screenX tags: - API - Propriété - Window - lecture seule translation_of: Web/API/Window/screenX --- {{APIRef}} 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. ## Syntax lLoc = window.screenX - _`lLoc`_ is the number of CSS pixels from the left side the screen. ## Specifications | Specification | Status | Commentaire | | -------------------------------------------------------------------------------------------- | -------------------------------- | ------------------- | | {{ SpecName('CSSOM View', '#dom-window-screenx', 'Window.screenX') }} | {{ Spec2('CSSOM View') }} | Définition initiale | ## Compatibilité des navigateurs {{Compat("api.Window.screenX")}} ## Voir aussi - {{domxref("window.screenLeft")}} - {{domxref("Window.screenY")}}