HTML: Control individual row height in table with rowspan - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Div Table

Description

HTML: Control individual row height in table with rowspan

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">
.row {<!--from w  ww.j  a  v  a2  s .c  o  m-->
   margin-bottom:11px;
   overflow:hidden;
}

.col1, .col2 {
   float:left;
}

.col1 {
   margin-right:11px;
}
</style> 
 </head> 
 <body> 
  <div class="row"> 
   <div class="col1">
     Lorem ipsum d 
   </div> 
   <div class="col2">
     Lorem ipsum 
    <br>Lorem ipsum 
    <br>Lorem ipsum dolo 
   </div> 
  </div> 
  <div class="row"> 
   <div class="col1">
     Lorem ipsum d 
   </div> 
   <div class="col2">
     Lorem ipsum 
    <br>Lorem ipsum 
    <br>Lorem ipsum dolo 
    <br>Lorem ipsum dolor 
   </div> 
  </div> 
  <div class="row"> 
   <div class="col1">
     Lorem ipsum d 
   </div> 
   <div class="col2">
     Lorem ipsum 
    <br>Lorem ipsum 
    <br>Lorem ipsum dolo 
    <br>Lorem ipsum dolor 
    <br>Lorem ipsum dolor sit amet 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials