html 属性学习
1.矩形模块的使用中有margin,border,padding 3个属性\r

2。整个body

看完图下面是测试代码:
<title>51windows.Net </title>
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ />
<style type=”text/css”>
</style>
<script language=”JavaScript”>
var s = “”;
s += “\n网页可见区域宽:”+ document.body.clientWidth;
s += “\n网页可见区域高:”+ document.body.clientHeight;
s += “\n网页可见区域宽:”+ document.body.offsetWidth +” (包括边线的宽)”;
s += “\n网页可见区域高:”+ document.body.offsetHeight +” (包括边线的宽)”;
s += “\n网页正文全文宽:”+ document.body.scrollWidth;
s += “\n网页正文全文高:”+ document.body.scrollHeight;
s += “\n网页被卷去的高:”+ document.body.scrollTop;
s += “\n网页被卷去的左:”+ document.body.scrollLeft;
s += “\n网页正文部分上:”+ window.screenTop;
s += “\n网页正文部分左:”+ window.screenLeft;
s += “\n屏幕分辨率的高:”+ window.screen.height;
s += “\n屏幕分辨率的宽:”+ window.screen.width;
s += “\n屏幕可用工作区高度:”+ window.screen.availHeight;
s += “\n屏幕可用工作区宽度:”+ window.screen.availWidth;
alert(s);
</script>