Name
white-space
Synopsis
This
declares how whitespace within an element is handled during layout.
The values pre-wrap
and
pre-line
were added in CSS2.1.
Values:
normal
| nowrap
|
pre
| pre-wrap
|
pre-line
| inherit
Initial value:
normal
Applies to:
all elements (CSS2.1); block-level elements (CSS1 and CSS2)
Inherited:
no
Computed value:
as specified
Get Cascading Style Sheets: The Definitive Guide, Second 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.