【发布时间】:2017-04-20 18:01:34
【问题描述】:
我有问题。在对站点的侧页进行编码时,我无法将页脚绑定到站点的地下室。我使用引导类。尝试使用此类代码时:
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;
}
页脚要么保持原位,要么关闭内容,接近导航栏。 这个问题怎么解决?
之前 https://i.stack.imgur.com/qeg7Q.png
使用代码后 https://i.stack.imgur.com/XnnaS.png
附:我为糟糕的英语道歉
【问题讨论】:
标签: javascript jquery css mmenu