Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use hyphenation in Google Chrome browser?

I use the following css to auto hyphen text in my website:

-webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; 

But in chrome this has no effect. I already read, that chrome doesn't support this. Is there any workaround for hyphenation in chrome? Thanks!

like image 686
cypher75 Avatar asked Aug 19 '15 11:08

cypher75


People also ask

How do you hyphenate in HTML?

In HTML, use ­ to insert a soft hyphen.


1 Answers

Hyphenation is currently supported on Chrome only on Android and macOS (and only the "auto" value), as you can see here: http://caniuse.com/#search=hyphens

I used Hyphenator too, as suggested by Eric.

like image 160
kaosmos Avatar answered Sep 24 '22 22:09

kaosmos