ul,li ..将文本放在textstart下面,而不是第二行上的li图像

时间:2012-02-27 09:40:25

标签: html css

我得到<ul> list-style-image

现在我的问题是我无法想象如何让文本在第二行文本的开头流动,而不是在图像下面(或任何类型的样式)。

 - text
 - text
 - text how it 
 is now


 - text
 - text
 - text how i 
   want it

2 个答案:

答案 0 :(得分:0)

这样写:

ul{
 list-style-position:outside;
}

答案 1 :(得分:0)

使用list-style-position属性并将其设置为外部:

ul {
    list-style-position: outside;
}

<强> DEMO