如何把css的table表格定下来,不让它随着字数的变化而变化?

来源:百度知道 编辑:UC知道 时间:2024/05/10 09:18:39

不是很明白你说的,是说固定用CSS固定表格的大小吗?
如果是那么:
.tab td,th{width:100px; height:50px;}
这个是固定表格格子的宽和高,调用
<table class="tab">
.
.
.
</table>