Home >Web Front-end >HTML Tutorial >css implements omitting the td exceeding the text in the table_html/css_WEB-ITnose
First set the table-layout style of the table: fixed
Then set the width of the table (this step is required)
Finally set the three necessary attributes of the td style
text-overflow: ellipsis; white-space: nowrap; overflow: hidden;