当我做的位置是:绝对的,宽度:100%页脚设置太多的宽度为我的屏幕,这里是我的代码:页脚宽度设置太多
<p class="footer" style="font-weight:bold;color:#D9D9D9;border: 15px solid #272727;letter-spacing:1pt;word-spacing:2pt;font-size:10px;text-align:center;font-family:courier new, courier, monospace;line-height:0;"> Text </p>
CSS:
.footer{
position: absolute;
width:100%;
min-width:100%;
text-align: center;
bottom: 0px;
}
和我要让他留在即使没有所著,因为在其他页面页脚页底部进入屏幕
试试不使用位置绝对 –
@ShaigKhaligli OP希望在页面底部的页脚的住宿。 – TylerH