Make this line between side menu bar and content vertical line - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Bar

Description

Make this line between side menu bar and content vertical line

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <title>Lorem ipsum </title> 
  <style>
.nav {<!--from  www . ja v  a  2s  .  c  o m-->
   width:26%;
}

.content {
   width:71%;
   float:right;
   border-left:2px solid Chartreuse;
   padding-left:4%;
}
</style> 
 </head> 
 <body translate="no"> 
  <div class="content">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum. Aliquam erat volutpat. Vestibulum tortor neque, ornare vitae tempor hendrerit, luctus at neque. Phasellus sed quam pharetra, tincidunt tortor in, pharetra nisl. Maecenas aliquam luctus mauris, vitae venenatis diam imperdiet vel. Donec tortor diam, pretium vitae nibh vitae, consectetur lacinia sem. Proin luctus facilisis volutpat. Ut semper sit amet purus quis ornare. Quisque lobortis neque vitae tempor iaculis. Aliquam erat volutpat. Mauris tincidunt eget lacus eget 
  </div> 
  <div class="nav"> 
   <ul> 
    <li>Lorem ipsum dolor sit amet</li> 
    <li>Lorem ipsum dolor sit amet</li> 
    <li>Lorem ipsum dolor sit amet</li> 
    <li>Lorem ipsum dolor sit amet</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials