【问题标题】:Bootstrap fixed bottom form-actionsBootstrap 固定底部表单动作
【发布时间】:2012-05-06 23:12:47
【问题描述】:

我正在使用 Twitter 引导程序流畅布局。在一个页面上,我有一个大表单,底部有一个 <div class="form-actions"> 和一个保存按钮。我想让这个 div 一直可见,这样用户就不必总是向下滚动到页面底部。我尝试使用这段 CSS:

.fixed {position: fixed !important;}

当表格适合视口时它可以工作,但当表格太大时它会神秘地消失。有人对此有解决方案吗?

【问题讨论】:

    标签: css twitter-bootstrap


    【解决方案1】:

    尝试为topbottom 设置一些值,具体取决于您希望将其锚定的位置。

    .fixed {
        position: fixed;
        bottom:0;
        left:0;
     }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-09
      • 2017-02-18
      • 1970-01-01
      • 2020-06-24
      • 2015-02-02
      • 1970-01-01
      • 2017-10-16
      • 2014-02-14
      相关资源
      最近更新 更多