Home >Web Front-end >HTML Tutorial >css implements omitting the td exceeding the text in the table_html/css_WEB-ITnose

css implements omitting the td exceeding the text in the table_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:47:401566browse

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;



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn