I recently came across a project where it was necessary to determine the monitor resolution so that some Flash movies would display correctly. If you want to get the dimensions for the user's monitor, you can use Javascript's screen.width and screen.height properties to get the dimensions in pixels. As a check, you can use the following:
<SCRIPT LANGUAGE = JavaScript>
document.write("Here's the screen width:" + screen.width + "and your screen height:" + screen.height + ".");
</SCRIPT>
Please note this is different than the browser height/width.





