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
Css twitter引导中的两列布局,第一列的宽度固定,第二列的宽度填充剩余的空间_Css_Twitter Bootstrap - Fatal编程技术网

Css twitter引导中的两列布局,第一列的宽度固定,第二列的宽度填充剩余的空间

Css twitter引导中的两列布局,第一列的宽度固定,第二列的宽度填充剩余的空间,css,twitter-bootstrap,Css,Twitter Bootstrap,我正在使用Twitter引导,我正在尝试获得标题中描述的布局 请告知。您可以尝试以下方法: <div class="row-fluid"> <div class="span12"> <div class="fixed_width"></div> <div class="variable_width"></div> </div> </div> 在这里,您可以找到一个更一般的示例() div

我正在使用Twitter引导,我正在尝试获得标题中描述的布局


请告知。

您可以尝试以下方法:

<div class="row-fluid">
 <div class="span12">
  <div class="fixed_width"></div>
  <div class="variable_width"></div>
 </div>
</div>
在这里,您可以找到一个更一般的示例()

div.fixed_width {
 width: 300px;
 // or try with: "float:left;" too
}

div.variable_width {
 overflow: hidden;
 // if you use float:left in the other, don't use overflow here, but try with: "width:100%;"
}