Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导容器流体垂直滚动_Html_Css_Twitter Bootstrap_Vertical Scrolling - Fatal编程技术网

Html 引导容器流体垂直滚动

Html 引导容器流体垂直滚动,html,css,twitter-bootstrap,vertical-scrolling,Html,Css,Twitter Bootstrap,Vertical Scrolling,我已经找到了这个问题的许多答案,但似乎没有一个对我有用。 我使用的是Bootstrap3.3.7 这是我的密码: <div class="container-fluid"> <div class="row"> <div class="col-md-2"> <div class="sectionLeft"> Sidebar Content </div> </div>

我已经找到了这个问题的许多答案,但似乎没有一个对我有用。 我使用的是Bootstrap3.3.7

这是我的密码:

<div class="container-fluid">
  <div class="row">
    <div class="col-md-2">
      <div class="sectionLeft">
        Sidebar Content
      </div>
    </div>
    <div class="col-md-9">
    </div>
  </div>
 </div>

边栏内容
然后我总是得到一个垂直的滚动条,我不知道如何解决这个问题


提前谢谢。我找到了。我的主css文件导致此问题,因为我有以下问题:

 body{
  font-family: Arial, Verdana, sans-serif !important;
  font-size: 9pt !important;
  height: 100vh;
  width: 100vw;
}

宽度:100vw引起问题的地方。

我找到了。我的主css文件导致此问题,因为我有以下问题:

 body{
  font-family: Arial, Verdana, sans-serif !important;
  font-size: 9pt !important;
  height: 100vh;
  width: 100vw;
}

问题出在
width:100vw
的地方。

可能问题出在
css
中,您也可以包含它吗?请尝试创建小提琴或代码片段以在操作中尝试它可能问题出在
css
中,您也可以包含它吗?请尝试创建小提琴或代码片段以在操作中尝试它