css span nowrap,no salto de linea wrapspan

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css span nowrap,no salto de linea wrapspan相关的知识,希望对你有一定的参考价值。

span
{
  white-space: pre;
}


normal
This value directs user agents to collapse sequences of white space, and break lines as necessary to fill line boxes.

pre
This value prevents user agents from collapsing sequences of white space. Lines are only broken at preserved newline characters.

nowrap
This value collapses white space as for 'normal', but suppresses line breaks within text.

pre-wrap
This value prevents user agents from collapsing sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.

pre-line
This value directs user agents to collapse sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.

以上是关于css span nowrap,no salto de linea wrapspan的主要内容,如果未能解决你的问题,请参考以下文章

实现CSS文本缩进?

如何获得连续的 nowrap 跨度以包装为单独的元素?

强制汉字词组换行css属性设置

sql Salto de linea SQLServer

CSS CSS nowrap - 防止文本在HTML中包装

javascript salto de linea en canvan