标签:
<script type="text/javascript"> $(document).ready(function(){ findDimensions(); }); function findDimensions(){ var h = document.documentElement.clientHeight-120; $("#maincontent").css("height",h); } window.onresize=findDimensions; </script>
标签:
原文地址:http://www.cnblogs.com/wesky/p/4451437.html