Skip to content

Glossary: CSS Layout and Responsive Design

white-space: nowrap

Also written: white-space

A CSS declaration that keeps text on a single line instead of wrapping it. It is used, for example, so each link in a horizontally scrolling nav stays on one line.

Where the book teaches it

Related terms

Overflow