css
1.宽度固定 2.overflow:hidden /* 超出部分不显示 */ 3.white-space:nowrap/* 不换行 */ 4.text-overflow:ellipsis /* 超出部分显示为... */