+ 1
White-space problems in css
what's the use of these ? white-space: pre; white-space: pre-wrap; also what's the difference between them? they all seem the same to me ...
2 Answers
+ 1
hello?
0
pre:-Whitespace is preserved by the browser.
Text will only wrap on line breaks. Acts like the <pre> tag in HTML,
pre-wrap:-Whitespace is preserved by the browser. Text will wrap when necessary, and on line breaks