Rails-HTML页面赢得';我不能坐得很高

Rails-HTML页面赢得';我不能坐得很高,html,css,ruby-on-rails,twitter-bootstrap,Html,Css,Ruby On Rails,Twitter Bootstrap,我正在遵循一个教程,试图创建一个管理面板,但我在某个点上卡住了。我试图使navabar+文本具有完整高度,但它们有些“包装内容” 这是我的html: <!DOCTYPE html> <html> <head> <title>TEAM 21 </title> <%= stylesheet_link_tag 'adminpanel', media: 'all', 'data-turbolinks-track' => tr

我正在遵循一个教程,试图创建一个管理面板,但我在某个点上卡住了。我试图使navabar+文本具有完整高度,但它们有些“包装内容”

这是我的html:

<!DOCTYPE html>
<html>
<head>
  <title>TEAM 21 </title>
  <%= stylesheet_link_tag 'adminpanel', media: 'all', 'data-turbolinks-track' => true %>
  <!-- <%= javascript_include_tag 'adminpanel', 'data-turbolinks-track' => true %> -->
  <%= csrf_meta_tags %>
</head>
<body>
  <%if flash[:notice] %>
    <div class="notice"><%= flash[:notice] %></div>
  <% end %>

  <%if flash[:alert] %>
    <div class="alert"><%= flash[:alert] %></div>
  <% end %>

  <!-- HEADER
  ================================================== -->
  <div class="containter-fluid display-table">
        <div class="row display-table-row">
          <!-- Side menu -->
          <div class="col-md-2 display-table-cell valign-top" id="side-menu">
            <h1> Navigation </h1>

          </div>

          <!-- Main content area -->
          <div class="col-md-10 box display-table-cell valign-top">

            <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
               Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with
               the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
            </p>

            <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
               Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with
               the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
            </p>
          </div>
        </div>
    </div>

    <!-- CONTENT
    ================================================== -->
    <div class="buffer-top">
      <!-- <%= yield %> -->
    </div>


   <!-- Bootstrap core JavaScript
   ================================================== -->
   <!-- Placed at the end of the document so the pages load faster -->
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
   <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>

 </body>
</html>

编辑:我忘了提。我已经尝试了所有我能找到的解决方案,但它就是不能达到完全的高度

这不是css。我猜这是sass?检查车身边缘。通常是
10px
。否则,将html设置为100%高度

html
  height: 100%

当你只有
body
as
100%
html
0px
高,那么body是
100%
0px
,因此仍然是
0px
。所以通常还记得设置html高度:)我有过这样的设置,但它们在同一条线上啊,好吧,我明白了
html
  height: 100%