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


p {
white-space: normal
}

text


Possible Values

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