Word-wrapping on Firefox | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Word-wrapping on Firefox

Firefox doesn't support white-space and word-wrap propeety. Any ideas for alternative solutions? :)

27th Apr 2017, 10:55 PM
Staszek Kurek
Staszek Kurek - avatar
2 Answers
27th Apr 2017, 10:59 PM
Rose Sevenyears
Rose  Sevenyears - avatar
+ 1
From different things I have read, the white space issue you speak about here can be resolved using the following: white-space: -moz-pre-wrap; /* Firefox */ pre-wrap Sequences of whitespace are then preserved. Lines are instead broken at newline characters, at , and as necessary to fill line boxes.
27th Apr 2017, 11:09 PM
Bob
Bob - avatar