<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
td{
border:1px solid red;
height: 80px;
}
.top{
vertical-align: top;
}
.bottom{
vertical-align: bottom;
}
</style>
</head>
<body>
<table>
<tr>
<td class="top">01</td>
<td>02</td>
<td class="bottom">03</td>
</tr>
</table>
</body>
</html>
html -- table垂直对齐
最新推荐文章于 2024-05-16 18:11:47 发布