我想讓bootstrap的行在英雄單位裏面工作。我厭倦了這個例子How to display a thumbnail in the hero unit with Bootstrap?,但它似乎不起作用。我只在英雄中獲得1列。我的猜測是填充導致列進行換行,因爲它在將填充設置爲0時似乎正確對齊,但我不確定如何正確解決該問題。如何使用Bootstrap在英雄單位顯示兩列?
<div class="hero-unit" style="padding: 15px;">
<div class="page-header">
<h2>
Example Page Header
<small>Example Sub Header</small>
</h2>
</div>
<div class="row">
<div class="span4">
<img src="http://placehold.it/360x268" alt="">
</div>
<div class="span8">
test
</div>
</div>
</div>
你可以添加一個示例圖像,即使與油漆,你喜歡你的網頁應該是什麼? – osyan 2012-08-08 06:37:04