为什么这仍然包装?这是我的代码:
<table>
<tr>
<td class="nowrap">
$<input type="text" name="test" value="" />
</td>
</tr>
</table>
和 CSS:
.nowrap {
whitespace: nowrap;
}
它
white-space: nowrap;
带有连字符。