Home  >  Article  >  Web Front-end  >  How to control the width of td so that the content in td can automatically wrap when it meets the fixed number of characters_html/css_WEB-ITnose

How to control the width of td so that the content in td can automatically wrap when it meets the fixed number of characters_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:161324browse

RT.
Please help me


Reply to the discussion (solution)

As far as I know: The current layout is basically div css, and the table is only used on the table. ..There is a white-space:normal; in css that sets automatic line wrapping, which is usually the default line wrapping.
Yuanfang, what do you think?

The width of td cannot strictly control the width and line wrapping. If the total width of the current table is too long and there is only one td, think about it and you will know that it is impossible to use that thing to break lines

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