create a table of equations with descriptions - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Caption

Description

create a table of equations with descriptions

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">
table {<!--from  www .ja  va2s.co  m-->
   width:301px;
   border-collapse:collapse;
}

table, td, th {
   border-bottom:2px solid Chartreuse;
}

.ctr {
   text-align:center;
}

.lft {
   text-align:right;
}

.rgt {
   text-align:left
}

td {
   padding-top:7px;
}
</style> 
 </head> 
 <body> 
  <table> 
   <tbody> 
    <tr> 
     <td style="width: 10%">Lor</td> 
     <td class="lft" style="width: 40%">Lorem</td> 
     <td class="ctr" style="width: 10%">L</td> 
     <td class="rgt" style="width: 40%">L</td> 
    </tr> 
    <tr> 
     <td>Lor</td> 
     <td class="lft">Lorem ips</td> 
     <td class="ctr">L</td> 
     <td class="rgt">Lorem</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials