+ 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 ...

2nd Jan 2017, 5:21 PM
Dark Soul
Dark Soul - avatar
2 ответов
+ 1
hello?
4th Jan 2017, 8:27 AM
Dark Soul
Dark Soul - avatar
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
3rd Feb 2017, 9:17 AM
Vivek Srinivasan
Vivek Srinivasan - avatar