2016-07-05 128 views
0

enter image description here列表垂直對齊的IE 9

大家好,我有在IE瀏覽器中使用<li></li>問題。我曾嘗試使用display:blockdisplay:table正確對齊每個子彈的第二行與第一行,但都沒有工作。

下面的列表:

<ul class="a"> 
    <li> 
     <span>The customer provides the database schema files, which include SQL statements (DDLs of all the database objects and stored procedures), and the application source code.</span> 
    </li> 
    <li> 
     <span>Fujitsu performs the migration analysis. An experienced consultant with the help of our proven migration assessment tool will analyze your organization&#x27;s database environment, assessing the infrastructure, schema and applications.</span> 
    </li> 
</ul> 

回答

1
在你的CSS地方

這種調整像素的數量,你想爲它啓動的確切位置。

ul.a li { 
    text-indent:10px; 
} 

或嘗試使用填充而不是列表樣式屬性。

+0

耶,但它適用於Chrome瀏覽器,只是沒有在互聯網上探索 – Fenici

+0

使用'padding-left'它應該在每個瀏覽器中工作 –

+0

我正在使用list-style-position:inside。我應該可能得到這個屬性的車 – Fenici