HTML CSS examples for CSS Widget:Table Row
Different number of Columns in rows of a table
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> td {<!-- w w w . jav a 2s . co m--> border:2px solid Chartreuse; } </style> </head> <body> <table> <tbody> <tr> <td>L</td> <td>L</td> <td>L</td> <td>L</td> <td>L</td> <td>L</td> </tr> <tr> <td>L</td> <td colspan="2">L</td> <td>L</td> <td>L</td> <td>L</td> </tr> <tr> <td>L</td> <td colspan="5">L</td> </tr> <tr> <td colspan="2">L</td> <td>L</td> <td colspan="2">L</td> <td>L</td> </tr> </tbody> </table> </body> </html>