<script> document.write("可用宽度:" + screen.availWidth); </script>
<script> document.write("可用高度:" + screen.availHeight); </script>