像这样的。每个前面的小图标是一样的。关键是下面有虚线,我这样弄了但是不显示。
.news_ {list-style:url(images/news_li.jpg);;margin: 0 auto;padding:0px;display: block;line-height: 200%;overflow: hidden;}
.news_ li {padding-left: 30px;height: 25px;line-height: 25px;background:url(images/news_li.jpg) no-repeat 3px 7px;list-style: none;overflow: hidden; border-bottom:dotted 1px #626262;}
ul{ width:100px;}
li{ height:22px; line-height:22px; border-bottom:1px dashed #999; background:url(Dot_List.png) no-repeat; background-position:0px 6px; padding-left:10px;}
光盘教学系列
光盘教学系列
光盘教学系列
大概这样子就行了,你换下图片地址,改下background-position值就能出来了