Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.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 连字符在新行中中断,而不是在移动设备上使用空格_Html_Css_Responsive Design - Fatal编程技术网

Html 连字符在新行中中断,而不是在移动设备上使用空格

Html 连字符在新行中中断,而不是在移动设备上使用空格,html,css,responsive-design,Html,Css,Responsive Design,我在使用CSS3和HTML5的移动设备和使用Bootstrap 3的响应式设计上遇到了一个小问题 在台式机或笔记本电脑上,当我将窗口大小调整为更小时,文本行将使用空格换行 当我使用三星Galaxy S6时,它使用-连字符而不是空格 如何在CSS中的连字符-上禁用此包装?请尝试以下CSS: .nowrap { white-space: nowrap; } HTML: Autoparts Prosec是一个 auto-onderdelen 还是一样。。。它需要连字符而不是空格来包装。你能给我

我在使用CSS3和HTML5的移动设备和使用Bootstrap 3的响应式设计上遇到了一个小问题

在台式机或笔记本电脑上,当我将窗口大小调整为更小时,文本行将使用空格换行

当我使用三星Galaxy S6时,它使用
-
连字符而不是空格


如何在CSS中的连字符
-
上禁用此包装?

请尝试以下CSS:

.nowrap {
   white-space: nowrap;
}
HTML:

Autoparts Prosec是一个
auto-onderdelen

还是一样。。。它需要连字符而不是空格来包装。你能给我JSFIDLE作为参考吗?我只是有相同的解决方案!谢谢
<div class="big">Autoparts Prosec is de grossier in 
   <strong class="nowrap">auto-onderdelen</strong>
</div>