Is there a way to figure out what is the current dimensions for the web browser window being used?
Browser window size
You could use JavaScript to get the size, and post that in a hidden form to the server.
i believe it is window.innerHeight and window.innerWidth