1
我有導航條,代碼如下...如何移動圖標居中
<?php
NavBar::begin(['brandLabel' => '',
'options' => [ //'class' => 'navbar-inverse navbar-fixed-top',
'style' => 'height: 30px; margin-top:-10px;',]
]);
echo Nav::widget([
'items' => [['label' => 'Home', 'url' => ['/site/index']],
['label' => 'About', 'url' => ['/site/about']],],
'options' => ['class' => 'navbar-nav','style' => 'align:center',],
]);
NavBar::end();
?>
是可以移動圖標殿居中?.. 引導導航欄左,導航欄,右邊是工作correclty ..