CSS WHITE-SPACE

Prevent your text from wrapping with nowrap. Note: we have defined the overflow and width CSS attributes, so that you may see nowrap in action.

Examples
1
2
3
p {
  white-space: normal
}
1
<p style="white-space: normal">text</p>

Possible Values

normal: Collapses multiple spaces into one
pre: Does not collapse multiple spaces
nowrap: Does not allow line wrapping without a tag