Table row height in a 100% height table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

Table row height in a 100% height table

Demo Code

ResultView the demo in separate window

<html style="height:100%">
 <head></head> 
 <body style="height:100%"> 
  <table style="border-collapse:collapse;height:100%;width:100%; table-layout:fixed;"> 
   <tbody> 
    <tr style="height: 100px;"> 
     <td style="border:solid 1px black">L</td> 
     <td style="border:solid 1px black">L</td> 
    </tr> <!--   w  w w . j a  va  2  s.co  m-->
    <tr style="height: 100%"> 
     <td style="border:solid 1px black">L</td> 
     <td style="border:solid 1px black">L</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials