vertical-align: baseline;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
<title>vertical-align</title>
<style type='text/css'>
td {
font: 12px sans-serif;
border: 1px solid black;
padding: 5px;
width: 100px;
}
td#baseline {
font-size: 50px;
vertical-align: baseline;
}
td#baseline-copy {
vertical-align: baseline;
}
td#top {
vertical-align: top;
}
td#middle {
vertical-align: middle;
}
td#bottom {
vertical-align: bottom;
}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td id='baseline-copy'>
Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Proin mauris nisl, tincidunt ut, aliquam nec,
ultrices id, sapien. Proin quis urna. Class aptent
taciti sociosqu ad litora torquent per conubia nostra,
per inceptos hymenaeos.
</td>
<td id='baseline'>Baseline</td>
<td id='top'>Top</td>
<td id='middle'>Middle</td>
<td id='bottom'>Bottom</td>
</tr>
</tbody>
</table>
</body>
</html>
Related examples in the same category