What is the difference between "word-break: break-all" and "word-wrap: break-word"?
When I used both, they seemed to break the word if it was not fitting the container. But why did W3C make two ways to do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The W3 specification that talks about these seem to suggest that
word-break: break-allis for requiring a particular behaviour with CJK (Chinese, Japanese, and Korean) text, whereasword-wrap: break-wordis the more general, non-CJK-aware, behaviour.