<style type="text/css">
table {width:500px;table-layout:fixed;}
.col1 {width:100px;}
.col2 {width:200px;}
.col3 {width:200px;}
td {white-space:nowrap;overflow:hidden;}
</style>
table {width:500px;table-layout:fixed;}
.col1 {width:100px;}
.col2 {width:200px;}
.col3 {width:200px;}
td {white-space:nowrap;overflow:hidden;}
</style>
本文介绍了一种使用CSS进行固定宽度表格布局的方法,并详细解释了如何设置各列的宽度及单元格内的文本处理方式。
2144

被折叠的 条评论
为什么被折叠?



