Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> table { width: 100%; border-collapse: collapse; } table, th, td { border: 1px solid #cccccc; } td { height: 100px; } .top { vertical-align: top; } .bottom { vertical-align: bottom; } </style> </head> <body> <h2>Пример свойства vertical-align</h2> <table> <tr> <th>Bottom</th> <th>Middle</th> <th>Top</th> </tr> <tr> <td class="bottom">Текст</td> <td>Some text</td> <td class="top">Текст</td> </tr> </table> </body> </html>