Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS hyphen throws error (invalid property value)

I want to break a text with hyphenation, but it brings an error:

enter image description here

It says: "Invalid property value".

But in many docs they say, that the "auto" value exists!

It should break this text with hyphenation:

enter image description here

I hope, that someone can help me with that!

like image 652
Tim Avatar asked Sep 20 '17 06:09

Tim


1 Answers

To add to their answers to check if you have the right browser at https://caniuse.com/#feat=css-hyphens

You can also check MDN's documentation about it and see how your language dictionary may not be supported yet.

(scroll to the bottom to see Hyphenation dictionary language compatibility) https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens

There is even a footnote that says for Chrome:

No automatic hyphenation, only -webkit-hyphens: none is supported.

like image 71
henrisycip Avatar answered Sep 30 '22 13:09

henrisycip