Skip to Content


CSS Reference / white-space

white-space

Sets how white space inside an element is handled. Buggy or only partially supported in many popular browsers.

Values:

  • normal
  • pre
  • nowrap

Examples:

  1. white-space: nowrap;
  2. white-space: pre;

Browser support:

  • Internet Explorer 5+
  • Netscape 4+
  • Opera 5+

Related properties:

back to list



Search

Sponsors

Logo design for $149

Advertise here