body的高度不足100%的问题以及无滚动内容出现滚动条的问题

This commit is contained in:
miss 2017-08-27 16:50:34 +08:00
parent f3926dbdd2
commit 9e3f46dc36
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
</script>
</head>
<body>
<body style="height: 100%">
<div class="muban_conbox_max">
<div class="pages_new_404">
<img src="/images/404/pic_403.jpg" >

View File

@ -41,7 +41,7 @@
</script>
</head>
<!--add by huang-->
<body onload="prettyPrint();">
<body onload="prettyPrint();" style="height: 100%">
<div class="newContainer"> <!-- 页面全部内容 -->
<div class="newHeader"> <!-- 头部 -->
<% if User.current.logged? %>

View File

@ -1,4 +1,4 @@
html {overflow-y:scroll;}
html {overflow-y:auto;}
body { font-family:'微软雅黑', Verdana, sans-serif; font-size: 13px; color:#484848; margin: 0; padding: 0; min-width: 900px; } /*modified by linchun*/
h1, h2, h3, h4 {font-family: '微软雅黑', "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}