HTML CSS examples for CSS Widget:Table Row
Use row span on the last row 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 .j a va 2 s. com--> { padding:6px; border:2px solid Chartreuse; } .spacer { border:0; padding:0; height:31px; } </style> </head> <body> <table> <tbody> <tr> <td class="spacer"></td> <td>Lorem</td> <td>Lorem</td> <td rowspan="2">Lorem</td> </tr> <tr> <td class="spacer"></td> <td rowspan="2" colspan="2">Lorem</td> </tr> <tr> <td class="spacer"></td> <td>Lorem</td> </tr> </tbody> </table> </body> </html>