我试图制作页脚,但左侧和右侧显示一些空白区域.如何删除空白区域?
这是我的代码:
footer {
background: none repeat scroll 0% 0% #DFDFDE;
padding: 120px 0px;
text-align: center;
position: relative;
}
.divider {
background: url('http://evablackdesign.com/wp-content/themes/ebd/images/footer-border.png')
repeat-x scroll center center transparent;
height: 7px;
width: 100%;
position: absolute;
top: -6px;
}
.container {
width: 930px;
margin: 0px auto;
}
hiiiiiiiii
buyyyyyyyyyyyy
标签定义文档或部分的页脚.
元素应包含有关其包含元素的信息.
页脚通常包含文档的作者,版权信息,使用条款的链接,联系信息等.