div { table-layout: fixed; word-wrap: break-word; width: 加上宽度; overflow: hidden; (让多出来的不显示。) } 重点是 table-layout: fixed; word-wrap: break-word; 这两句。