What is my browser window size

Browser current window size.

Your window size is

Outer window size:

Inner window size:

Left, Top screen coordinates of the window:

Screen resolution detection with Javascript

You can get the outer window size with window.outerWidth and window.outerHeight.

You can get the inner window size with window.innerWidth and window.innerHeight.

With IE you can get it with document.body.clientWidth and document.body.clientHeight.

You can get the screen window position with window.screenLeft and window.screenTop.

For example:

<script>
alert(window.outerWidth+' x '+window.outerHeight);
</script>

 


See also

Write how to improve this page