Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
IMCreator - Free Website Builder

CSS white-space

Also see the full, alphabetical list of CSS properties


The CSS white-space property is used to control whitespace. This is can be used to prevent unwanted wrapping. This property can be thought of as the CSS equivalent of the NOWRAP and PRE tags in HTML.

Syntax: white-space: <value>
Possible Values:
  • normal
  • pre
  • nowrap
  • inherit
Initial Value: normal
Applies to: Block level elements
Inherited: Yes
Media: Visual
Example: .nowrap { white-space: nowrap }

Also see all CSS properties listed alphabetically


Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!