css控制文字长度,超出长度显示... css控制文字长度,超出长度显示... .style { max-width: 165px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }