CSS WHITE-SPACE - CSS3 Examples

CSS WHITE-SPACE

Written by jon on 8:09 AM
Prevent your text from wrapping with nowrap. Note: we have defined the overflow and width CSS attributes, so that you may see nowrap in action.
Example
p {white-space: normal}

<p style=”white-space: normal”>text</p>

Possible Values
Value Description
normal Collapses multiple spaces into one
pre Does not collapse multiple spaces
nowrap Does not allow line wrapping without a tag

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS WHITE-SPACE ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :