white-space

Prevent your text from wrapping with nowrap. A new line will not be started unless you explicitly tell the browser to with <br/>. Note: we have defined the overflow and width CSS attributes, so that you may see nowrap in action.

Value Description
nowrap The element will not wrap until specifically told to do so, usually done with a line break.

Code:

p { white-space: nowrap;
overflow: scroll;
width: 430px;}

Display:

This paragraph will not wrap until I tell it to with a break tag. As you can see, it makes the page look
quite ugly.

Compatibility Issues:

IE 5.0 - No white-space support.
IE 5.5 - No support for the "pre" value.