【发布时间】:2015-08-05 19:00:36
【问题描述】:
页面的内容将进入位于页脚顶部的另一个 div 中。有人可以帮我知道如何将一个固定的 div 放在页脚的顶部,并且页面的内容应该是可滚动的
<body>
<header class="container-fluid">
</header>
<div id="fixWidth">
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1>
<h1>hi how are u</h1><h1>hi how are u</h1>
</div>
<div class="footer navbar-fixed-bottom">
<div class="container-fluid">
<h4>This part of content Content should be fixed</h4>
</div>
<footer class="container-fluid">
<div class="content">
<p>@copyright</p>
</div>
</footer>
</div>
</body>
【问题讨论】:
-
你能提供一些css或jsfiddle吗?
-
我没有得到你的问题((
标签: html css twitter-bootstrap footer