我已經看到Bootstrap < = 2的一些黑客,但我使用的是v3,我想在行/容器中居中放置一個水平行鏈接。這裏是我的標記:Bootstrap 3:如何製作居中的導航欄
<div class="footer row">
<div class="col-12">
<ul id="menu-main" class="nav navbar-nav">
<li class="text-center">
<%= link_to "Home", root_path %>
</li>
<li class="text-center">
<%= link_to "About", root_path %>
</li>
<li class="text-center">
<%= link_to "Help", root_path %>
</li>
</ul>
</div>
</div>
你見過網格系統下的文件>嵌套列http://getbootstrap.com/css/ –
退房的自舉3個例子。 [這聽起來像你在找什麼。](http://getbootstrap.com/examples/justified-nav/) – Schmalzy
@Schmalzy對齊導航很酷,但我不想扇出整個頁面的鏈接。我只有幾個,所以我想他們只是以正常的間距居中。 – emersonthis