为什么不同浏览器获取的宽和高不同?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<script type="text/javascript">
var w=window.innerWidth;
var h=window.innerHeight;
document.writeln(w);
document.writeln(h+"<br/>");
var w1=document.documentElement.clientWidth||document.body.clientWidth;
var h1=document.documentElement.clientHeight||document.body.clientHight;
with(document){
writeln(w1);
writeln(h1);
}
</script>
</body>
</html>