table {
table-layout: fixed;
}
table td {
width: 50%;
overflow: hidden;
white-space: nowrap;
}
table td div {
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
}
css 设置表格的单元格宽度为固定值
于 2024-03-19 10:21:07 首次发布