CSS hyphen throws error (invalid property value)

Viewed 7170

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!

4 Answers

If you take a look here http://caniuse.com/#feat=css-hyphens you can see that chrome doesn't really support hyphens.

"Only supported on Android & Mac platforms (and only the "auto" value) for now."

Not all browsers support hyphens: auto which is under CSS Text Module Level 3

For instance Chrome supports only inherit, initial, manual, none and unset with -Webkit- (13). What is the browser your are working with? Check CSS3 browser support for more detail.

'hyphens' is not supported by Chrome browser

Related