上次在优快云上看到有人说如何获得分辨率。代码如下: <script>document.write ("你屏幕的分辨率为 : ");document.write (screen.width); document.write ( "×");document.write (screen.height);</script> 当然如果你要在后台得到他的值的话。可以把获得的值通过隐藏控件传递到后台。 转载于:https://www.cnblogs.com/luanwey/archive/2006/09/27/516282.html