screen.width : Screen Object : Screen JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Screen » Screen Object »

 

screen.width







The width property gets the width of the user's screen in pixels.












<html>
    <script language="JavaScript1.2">
    <!--
    document.write("The width of this user's screen is <b>");

    document.write(screen.width  + '</b> pixels');
    -->
    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Screen
» Screen Object