Reputation: 21999
I am using css 3.0 in order to use the word-wrap function and I get the following error. 'Validation (CSS 3.0): 'word-wrap' is not a known CSS property name'. What do I do? I have the cascading version set for css3.
word-wrap: break-word;
Upvotes: 1
Views: 2521
Reputation: 119847
it's still a draft: http://caniuse.com/#search=word-wrap but older browsers (Firefox) support it
This property specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box...
...For legacy reasons, UAs may also accept ‘word-wrap’ as an alternate name for the ‘overflow-wrap’ property. However this syntax non-conforming in author style sheets. (http://www.w3.org/TR/css3-text/#word-wrap)
Upvotes: 0