| Property: |
white-space |
| Values: |
normal, pre, nowrap |
| Initial: |
normal |
| Inherited: |
yes |
This property declares how whitespace inside the element is
handled: the 'normal' way (where whitespace is collapsed), as 'pre'
(which behaves like the 'PRE' element in HTML) or as 'nowrap' (where
wrapping is done only through BR elements):
PRE { white-space: pre }
P { white-space: normal }
The initial value of 'white-space' is 'normal', but a UA will
typically have default values for all HTML elements according to the
suggested rendering of elements in the HTML specification .
CSS1 core: UAs may ignore the 'white-space' property in
author's and reader's style sheets, and use the UA's default values
instead.
_____________________________________________
Related sites:
-
dotNet Slackers - Your latest resource for ASP.NET
-
Dotnet Spider - Outsourcing and Offshore software development in India
-
XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
-
Planet Source Code - The largest public source code database on the Internet
|
|
|