table表格中文本溢出部分用省略号表示

1.table表格想要设置文本溢出操做可按照以下方法 css table{ 浏览器 width: 100%; table-layout:fixed; } 注意:table必须设置table-layout:fixed;属性,文本溢出设置才能生效; td{ width:300px; overflow: hidden; white-space: nowrap; text-overflow: ellips
相关文章
相关标签/搜索