CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>CSS Tables - Vertical Align</title> <style> table, th, td{ border: 1px solid #000; border-collapse: collapse; } table{ width: 100%; } td{ height: 50px; vertical-align: top; } </style> </head> <body> <h2>CSS tables Vertical Align</h2> <table> <tr> <th>User</th> <th>ID</th> <th>Password</th> </tr> <tbody> <tr> <td>Max</td> <td>max_321</td> <td>US_is_great123</td> </tr> <tr> <td>Philips</td> <td>phili123</td> <td>123phili</td> </tr> <tr> <td>Daxen</td> <td>daxen009</td> <td>IloveXexo</td> </tr> <tr> <td>Naomi</td> <td>NforNaomi</td> <td>ofcourse_naomi123</td> </tr> </tbody> </table> </body> </html>