The white-space Property
The white-space property controls whether or not whitespace is preserved within and between block level elements.
Value Meaning
normal Normal whitespace collapsing rules are followed.
pre Whitespace is preserved just as in the <pre> element of XHTML, but the formatting is whatever is indicated for that element, not just a monospaced font.
nowrap Text is broken onto a new line only if explicitly told to with a <br /> element, otherwise text does not wrap.
Related examples in the same category