Remove border on only one side for end <li> with splitting borders - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Remove border on only one side for end <li> with splitting borders

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#order {<!-- w w w  .  j a va  2 s  .c om-->
   font-family:HelveticaLTStd-Light;
   font-size:14;
   position:absolute;
   right:219;
   top:-6;
}

#order ul li:first-child {
   float:left;
   padding:6px;
   border:none;
}

#order ul li {
   float:left;
   padding:6px;
   border-left:2px solid;
}
</style> 
 </head> 
 <body> 
  <div id="order"> 
   <ul> 
    <li>Lorem</li> 
    <li>Lorem i</li> 
    <li>Lorem</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials