我有這樣的代碼:無法設置頁腳底部
<div id="login-frame" class="frame-container">
<h2>Dash</h2>
<p>Wellcome</p>
<hr>
<div class="alert hidden"></div>
<div class="frame-content">
<div class="row">
<div id="appuntamenti_futuri" class="command-buttons tile col-xs-6 btn">
<b class="title">Appuntamenti futuri</b>
</div>
<div id="storico_appuntamenti" class="command-buttons tile col-xs-6 btn">
<b class="title">Storico</b>
</div>
</div>
<div class="row">
<div id="prenotazioni" class="command-buttons tile col-xs-12 btn">
<b class="title">Prenota</b>
</div>
</div>
<div class="row">
<div id="card" class="command-buttons tile col-xs-6 btn">
<b class="title">Card</b>
</div>
<div id="prepagate" class="command-buttons tile col-xs-6 btn">
<b class="title">Abbonamento prepagate</b>
</div>
</div>
<div id="frame-footer">
<span style="color: #FFFFFF">Developed by</span>
<a href="#" target="_blank">
Someone
</a>
<span id="select-language" class="label label-warning">
Language
</span>
</div>
</div>
,這是一個jsfiddle
你怎麼看頁腳是不是在底部但在它後面有一條空白線,我設置了身體的背景以向您顯示問題。我做錯了什麼?
我看不到任何空行?或者你的意思是說,無論身體裏有多少內容,都有一個固定的頁腳總是粘在屏幕的底部? –
對不起,我已更新jsfiddle,無論如何,是的,我想要固定在div底部的頁腳 – Sandokan
好吧,檢查我的答案,如果這就是你的意思 –