<html>
<head>
<title></title>
<style type="text/css">
#main-table {
table-layout: fixed;
width: 100%;
}
#main-table td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
</head>
<body>
<table id="main-table">
<tr>
<td>的空军飞机的看法的反馈的jfk的空军飞机的看法大口径疯狂举动开发的看法的</td>
</tr>
</table>
</body>
</html>
css table td 文字过长隐藏
最新推荐文章于 2023-02-03 08:51:34 发布