Ask a question:
The effect is the same whether I set nowrap or not. The table automatically stretches with the text, why?
→Answer the question: The behavior of the noWrap attribute of the TD element is related to the width attribute of the TD element.
◆If the TD width is not set, the noWrap attribute is effective. ◆If the TD width is set, the noWrap attribute has no effect.
Sample file, click the run button to see the effect:
| 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