7

为什么当我将一个ul分成两列时它会丢失它的子弹?HTML:

<ul class="with-columns">
    <li>Ringo
    <li>George
    <li>John
    <li>Paul
</ul>

CSS:

ul.with-columns{
    -moz-columns: 2;
    -webkit-columns: 2; 
    -o-columns: 2;
    columns: 2;  
    list-style-type:circle; /* Not works! */
}

示例:http: //jsfiddle.net/4xKea/

4

2 回答 2

10

尝试这个:

list-style-position: inside;

小提琴

于 2014-05-22T07:09:09.190 回答
3

Just add list-style-position: inside; inside ul.with-columns css

于 2014-05-22T07:23:35.680 回答