| white-space |
| The classification properties of your document refer to the element type which is being used. Examples of this are inline elements, block elements, and list items. With this property, the element type can be changed. This property will give you more control over the presentation and functionality of your document.
white-space This setting is used to control the wrapping of text within an element, thus controlling the 'white space' of that element. white-space values normal This is the default setting for the white-space property. This value will allow regular display of the document. pre This value will cause the browser to display all whitespace entered as is within the HTML source document. nowrap This value tells the browser to ignore all line breaks in the source text, breaking them on the page only where a break statement (BR) is inserted. EXAMPLE: P {white-space: pre} This example wil cause the text within the paragraph to be displayed as is, inserting page breaks, indenting, and other formatting which occurs in the source text. |