I'm trying to add automatic CSS3 hyphens to my articles. Problem is the tag doesn't seem to affect the text.
I set
.entry p {
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
... but nothing happens.
Here's an example page I'm talking about (BTW you won't see the above CSS in real site, but I tried with Firebug).
The issue in this case is a missing
lang
attribute. Without that defined, the web browsers do no know how to hyphenate the page, because they don't know what language they are hyphenating in.Adding this attribute will fix the issue in browsers that support hyphenation.