Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 表TD在使用空格时仍然换行:nowrap_Html_Css - Fatal编程技术网

Html 表TD在使用空格时仍然换行:nowrap

Html 表TD在使用空格时仍然换行:nowrap,html,css,Html,Css,为什么这个还在包装?这是我的密码: <table> <tr> <td class="nowrap"> $<input type="text" name="test" value="" /> </td> </tr> </table> 它是空白:nowrap带有连字符。我认为空白:nowrap相当于TD属性nowrap…它没有为我换行-,你在哪个浏览器上测试它? .nowrap {

为什么这个还在包装?这是我的密码:

<table>
<tr>
    <td class="nowrap">
        $<input type="text" name="test" value="" />
    </td>
</tr>
</table>

它是
空白:nowrap
带有连字符。

我认为
空白:nowrap
相当于
TD
属性
nowrap
…它没有为我换行-,你在哪个浏览器上测试它?
.nowrap {
   whitespace: nowrap;
}