我其實有點新的HTML,但我不知道爲什麼我不得不滾動查看頁腳時,沒有任何容器和它之間的內容。有滾動查看頁腳
HTML
<head>
<!—[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="homepage.css" />
<![endif]—>
body {
background-color: #000;
}
</style>
</head>
<body>
<div id="wrap">
<div class="container">
<div class="content">
<!-- end .content --></div>
<!-- end .container --></div>
</div>
<div class="footer">
<p> FOOTER CONTENT </p>
</div>
</body>
</html>
CSS
.wrap {
position:relative;
margin:0 auto;
width:100%;
}
.footer {
background-color: black;
bottom: 0;
float: right;
height: 240px;
left: 0;
overflow: hidden;
padding-top: 5px;
width: 100%;
}
編輯,我加了完整的HTML身體,請參閱信息上的HTML部分。
你可以發佈整個HTML正文? –
我試過並得到一個錯誤,說有很多代碼。 – ZachStraus
標籤的內容不相關。只有標籤樹 –