0
我對上一個問題表示歉意!我很新的stackoverflow,並不知道如何使用這個,因爲我是非常新的HTML和CSS的東西。我正在爲初學者參加我的第一堂課,我們有一個例子,我應該複製它作爲我的項目。請讓我知道如果我沒有這樣做的權利,但這裏是我的代碼看起來像到目前爲止...... 我仍然希望角落被舍入,頁面延伸在它自己的,頁腳總是在底端。白色之外。保證金再次幫助
<div id="header">
<h1>H E A D E R</h1>
</div>
<h1>My first project!</h1>
<p>blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah</p
<div id="footer">
This is my test footer. I want it to go outside the white area.. To be specific, I want it on the pink below the white. The problem is, when I set the body height to a certain percent, the page doesn't extend on it's own.
</div>
h1 {
color:purple;
text-align:center;
}
html {background-color:pink;
background-attachment:fixed;
}
body {
background-color:white;
border-radius:20px;
margin-right: 245px;
margin-left: 240px;
margin-top: 100px;
}
#header {
background-color:#6F5997;
border-top-right-radius:15px;
border-top-left-radius:15px;
padding:50px;
}
一開始 – Billy 2014-11-23 23:32:01
頁眉和頁腳的標籤我有他們,但把他們趕走...:S – Rachel 2014-11-23 23:32:53
爲什麼??????????? – Billy 2014-11-23 23:33:28