这是我的网站,因此您可以看到问题:网页
问题是我的.footer
Has a margin: 50px 0 50px 0;
,但由于某种原因,它似乎没有距离顶部 50px 的边距。我不明白是什么导致了问题。
这是页脚部分的完整css(.dashed-footer
基本上是带有虚线边框的页脚内部部分。)
CSS
.footer {
margin: 50px 0 50px 0;
background-color: #1d130e;
width: 100%;
min-width: 1000px;
height: 50px;
border-top: 1px solid #0d0907;
border-bottom: 1px soid #0d0907;
clear: both;
-webkit-box-shadow: 0px 0px 15px -1px #181513;
box-shadow: 0px 0px 15px -1px #181513;
}
.dashed-footer {
height: 37px;
margin-top: 5px;
text-align: center;
line-height: 38px;
border-top: 1px dashed #613e27 !important;
border-bottom: 1px dashed #613e27 !important;
color: #e6d7bb;
text-shadow: 1px 1px 0 #000;
}