CSS Property - White Space

Value: normal | pre | nowrap
Initial: normal
Applies to: block-level elements
Inherited: yes
Percentage values: N/A

The CSS property "white-space" declares how white space inside the element is handled: the "normal" way (where white space is collapsed), as "pre" (which behaves like the "PRE" element in HTML) or as "nowrap" (where wrapping is done only through BR elements):

Example:

pre {white-space: pre;}
p {white-space: normal;}

The initial value of "white-space" is "normal", but a UA will typically have default values for all HTML elements according to the suggested rendering of elements in the HTML specification.

CSS1 core: UAs may ignore the "white-space" property in author"s and reader"s style sheets, and use the UA"s default values instead