Underline Table Header with div - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Div Table

Description

Underline Table Header with div

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">
.header {<!--   ww  w. j  av a2 s.co m-->
   border-bottom:2px solid Chartreuse;
}

.col {
   width:201px;
   display:inline-block
}
</style> 
 </head> 
 <body> 
  <div class="header"> 
   <div class="col col1">
     Lorem 
   </div> 
   <div class="col col2">
     Lorem 
   </div> 
   <div class="col col3">
     Lorem 
   </div> 
   <div class="col col4">
     Lorem 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials