-3

我为页脚编写了 CSS 代码:

#footer{
position:fixed;
left:0px;
margin-bottom:0px;
vertical-align:bottom;
bottom:0px;
width:100%;
height:25px;
background-color:#4A6181;
overflow:hidden;
}

我在我的 HTML 中调用了样式表:

<link rel="stylesheet" href="http://angrysheep.zxq.net/footer.css" type="text/css" />

但是,我实际上如何将页脚放入我的网页中?我应该使用什么 HTML 代码将其添加到页面中?

4

2 回答 2

2

如果您要求标记,

<div id='footer'></div>
于 2012-05-17T20:44:23.427 回答
2

在包装内,但最后,添加你的<div id="footer"></div>

于 2012-05-17T20:44:37.880 回答