I have this:
<div style="word-break: break-all; width 50px;">... long text ...</div>
It works just as I’d like to
But the editor says:
CSS validation: 'word-break' is not avalid CSS property name.
What should I use instead?
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.
word-breakis valid indeed, but only in CSS3. Are you sure that your validator is set to CSS3 rather than CSS2 or lower?