create a table within a legend with overflow-x - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Caption

Description

create a table within a legend with overflow-x

Demo Code

ResultView the demo in separate window


<html>
 <head> 
  <!--[if IE]><!-- ww w .j  a v  a  2s  . c o  m-->
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> 
  <style>

</style> 
 </head> 
 <body> 
  <div style="width:700px;overflow-x:scroll;"> 
   <table style="background-color:white;color:black;"> 
    <tbody> 
     <tr> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
      <td>Lorem </td> 
      <td> </td> 
     </tr> 
    </tbody> 
   </table> 
  </div> 
  <script>

      </script>  
 </body>
</html>

Related Tutorials