【发布时间】:2017-09-24 13:52:30
【问题描述】:
大家好,我希望我的网页能够显示所有内容 向下或向上滚动以查看任何内容。请问我该怎么做? 这给我带来了一些困难。
这是我的 layout.css
body {
margin:0;
padding:0;
}
#Holder {
width:980px;
height: auto;
margin-left: auto;
margin-right: auto;
margin-top: 21px;
margin-bottom: 21px;
}
#Header {
height: 150px;
background-repeat: no-repeat;
margin-bottom: 11px;
}
#NavBar {
height: 60px;
background-color:rgb(13, 13, 13);
}
#Content {
height:auto;
clear:both;
overflow:auto;
}
#PageHeading {
height:auto;
padding:11px;
}
#ContentLeft {
width:280px;
float:left;
padding-top:11px;
padding-left:11px;
}
#ContentRight {
width:680px;
float:right;
}
#Footer {
height:100px;
vertical-align: bottom;
width:50%;
position: relative;
}
【问题讨论】:
-
这个问题和我问的不一样。
标签: javascript php css