我想使用引导程序向我的导航栏菜单项添加一个简单的图标:
这是代码:
<div class="span4 well">
<ul class="nav nav-list">
<li class="nav-header">Recent news</li>
<li><a href="/news/introducing-new-apps-for-timeline"><i class="icon icon-play"></i> Introducing New Apps for Timeline</a></li>
<li class="divider"></li>
<li><a href="/news/do-you-shake-your-tea"><i class="icon icon-play"></i> Do you shake your tea?</a></li>
<li class="divider"></li>
<li><a href="/news/new-delta-sky-club-opens"><i class="icon icon-play"></i> New Delta Sky Club Opens at LaGuardia’s Terminal C</a></li>
<li class="divider"></li>
<li><a href="/news/love-is-in-the-air"><i class="icon icon-play"></i> Love is in the Air</a></li>
<li class="divider"></li>
</ul>
</div>
如果您检查THIS FIDDLE,您会发现当文本长度超过一行时它看起来并不漂亮......如何对齐文本(两行)?我添加