document.documentElement.clientWidth:取得浏览器页面可视区域的宽度document.documentElement.clientHeight:取得浏览器页面可视区域的高度screen.width:取得屏幕宽度screen.height:取得屏幕高度screen.availWidth:取得除任务栏外的屏幕宽度screen.availHeight取得除任务栏外的屏幕高度
查看更多关于获取浏览器可视区域、屏幕的宽和高_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did108536