In CSS, how does one set the white-space attribute.
The default value "normal" indicates that blank spaces are ignored by the browser.
The white-space attribute declares how to process the blank characters in the elements during the layout process. Values pre-wrap and pre-line are newly added in CSS 2.1. Valid in IE8 or later, Firefox, and Chrome.
Pre-wrap indicates that the blank character sequence is retained, but the line feed is normal.
Ke leyi pre-wrap10 space keleyi.com ke leyi normal10 space keleyi.com ke leyi nowrap10 space keleyi.com
<P ke leyi. Keleyi.com. This is some text. This is some text. Http://keleyi.com/a/bjac/7q4sej2s.htm.
<P ke leyi. Keleyi.com. This is some text. This is some text. Http://keleyi.com/a/bjac/7q4sej2s.htm.
White-space value:
Normal default. The blank space is ignored by the browser.
Pre blank is retained by the browser. The behavior is similar
Label.
The nowrap text will not wrap, and the text will continue on the same line
Label.
Pre-wrap retains the blank character sequence, but line breaks are normally carried out.
Pre-line merges the blank character sequence, but retains the line break.
Inherit specifies that the value of the white-space attribute should be inherited from the parent element.
Original article: http://keleyi.com/a/bjac/7q4sej2s.htm