篇首语:本文由小常识网(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的主要内容,如果未能解决你的问题,请参考以下文章