表格 td 长度的问题
table 中的 td 给了长度不管用
给 table 加个 table{ table-layout:fixed ;}
给 th 加个th{ white-space: nowrap;} 文字不换行
#timeRptAction .newTable{table-layout:fixed ;}
#timeRptAction .newTable thead{background-color: #eef1f6;color: #1f2d3d;}
#timeRptAction .newTable thead td{background-color: #eef1f6;color: #1f2d3d;font-weight: bold;}
#timeRptAction .newTable td{border-right: 1px solid #dfe6ec;border-bottom: 1px solid #dfe6ec;line-height: 30px;padding: 5px 15px;white-space: nowrap;overflow: hidden;text-align: left;min-width: 0;text-overflow: ellipsis;vertical-align: middle;box-sizing: border-box;position: relative;}
还没有评论,来说两句吧...