底部粘頁腳重疊我用下面的標記來創建一個底部版權標誌引導與網站
<footer class="footer">
<div class="container">
<p class="text-muted">© Some Company</p>
</div>
</footer>
這裏是CSS
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body > .container {
padding: 60px 15px 0;
}
.container .text-muted {
margin: 20px 0;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}
code {
font-size: 80%;
}
的問題是,它與底部重疊部分網站內容。
我該如何強制它進一步下降?
我沒有運氣這個CSS
.navbar-fixed-bottom {
padding-top: 10px;
height: 5%;
}
底部的邊緣部分沒有幫助。一般來說,這個CSS組件並不適合我。不知道爲什麼 – marc