.conlistbox {
position: relative;
width: 100%;
font-size: 14px;
line-height: 40px;
color: #333;
table-layout: fixed; // 这里是重点!!
}
th,
td {
width: 100px;
height: 40px;
padding: 0 5px;
box-sizing: border-box;
border: 1px solid #eee;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
给table添加样式:table-layout: fixed;