#news ul{ text-align:left; } #news ul li a{ text-align:left; width:100%; height:auto; border-bottom:1px solid #a4d018;; } #news ul li:nth-child(2) a{ border-left:none; border-right:none; margin:0; } <ul> </ul>