我已阅读所有线程,但我无法找出我的代码有什么问题。
我发现当我尝试将偏移量(或偏移量* 类 div 标签)放入我的流体网格系统时出现问题。基本上有 2 列具有 span2 和 span7 类,然后我将 span7 列划分为更多列。为此,我必须使用 offset*,因为我的设计之间有空格。但问题是,即使我确实使用了偏移类,我也看不出布局有什么不同。我将添加代码:
<!--small column-->
<div class="row-fluid">
<div class="span2">
<ul class="nav nav-list">
<li class="nav-header">Available Electives</li>
<li><a href="#">Dentist</a></li>
<li><a href="#">Medical</a></li>
<li><a href="#">Blah</a></li>
<li><a href="#">And Blah</a></li>
</ul>
</div>
<!--big column-->
<div class="row-fluid">
<div class="offset1"></div>
<div class="span7">
<h2>Join us!</h2>
<p>What you do here will not only change the lives of people you help through this volunteer experience but also it willforever change your view on life as you know it. We promise you that the new places, cultures, cuisine and people you encounter will reward you with a whole new perspective in to life.
Join with us and help to change a life; be it yours or someone else’s.
</p>
</div>
<div class="span2">
<img src="img/ceylonese-internship.jpg" class="thumbnail">
</div>
</div>
</div>
我确信我已经添加了所有必需的 CSS 文件,因为所有其他文件似乎都运行良好。我正在本地服务器内测试该站点。
提前致谢!