Name
white-space
Synopsis
Specifies how whitespace in the element source is handled in layout.
Values:
normal | pre | nowrap | pre-wrap | pre-line | inherit
Initial value:
normal
Applies to:
All elements (as of CSS 2.1); block-level elements (CSS 1 and CSS 2).
Inherited:
Yes.
Computed value:
As specified.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.