HTML CSS examples for CSS Widget:Table Caption
create a table within a legend with overflow-x
<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>