<ul id="test"> <li>Test</li> <li>Test</li> <li>Test</li> <li>Test</li> <li>Test</li> </ul>
body,ul,li{margin:0;padding:0;}
ul,li{list-style:none;}
#test{
margin:20px;
width:390px;
background:#F4F8FC;
border-radius:3px;
border:6px solid red;
}
/*每一个li的高度是35px*/
#test li{
height:25px;
line-height:25px;
padding:5px;
border-bottom:3px dotted black;
margin-bottom:-3px;
}
#test{
margin:20px;
width:390px;
background:#F4F8FC;
border-radius:30px;
border:6px solid red; overflow:hidden;
}
加个overflow:hidden; 样式就可解决问题,使最后一个li的下边框隐藏