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:
|