Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169 CSS Tutorial - Text styles - white-space
Even though this is not directly about the formatting of the text, one often comes to ask about wrapping of text, when talking about general formatting. So I am going to mention it here, but I am explaining it in detail in the 'Tables' section, because that's where I need it the most.
white-space:normal;
Just your every-day normal behaviour.
white-space:no-wrap;
Spaces will not be used to wrap text at that point..
white-space:pre;
This value prevents the wrapping of text at a whitespace. Lines are only broken at newlines in the source, or at occurrences of "\A" in generated content.
white-space:pre-wrap;
This value prevents the wrapping at whitespaces. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.
white-space:pre-line;
This forces the wrapping at whitespaces. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.