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