這裏是我的網頁:http://bad-sf.com/stemtest/about.html頁顯示滾動條無論什麼
注意滾動仍然是,即使內容是足夠小,不需要滾動的選項。它可能與我的CSS有關嗎? (以下):
body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;
}
* {
margin:0;
padding:0;
outline: none;
}
html, body {
height:100%;
font-family: '_.regular';
font-size: 13px;
outline: none;
}
#wrap {
min-height:100%;
width:800px;
margin: 2% auto;
}
#main {
overflow:auto;
padding-bottom: 30px;
}
#smm {
width: 400px;
height: 200px;
float:left;
}
#footer {
position: relative;
margin-top: 0px;
height: 35px;
clear:both;
font-family: '_.regular';
}
謝謝!我仍然在學習HTML和CSS,所以你有任何輸入將非常感激 - 丹尼
這個答案應該從一開始就接受。我不明白downvote。看到另一個正確的答案是如何被低估和隨後刪除的,我甚至不會打擾問爲什麼...... – mingos