Hyphenation can not be switched off by means of epub.css.
The following /crengine/epub.css directives do not switch off hyphenation:
@ Import "/ root/crengine/epub.css";
body {
text-align: right;
hyphenate: none;
}
I could verify that the css file is read, because epub text is formatted right aligned, but hyphenation did not switch off.
(Is there another way to switch off hyphenation entirely?)
This problem was spotted in Cool Reader version: 3.0.51-28 running on a BeBook Club S (Boox X60S).
My observation: If remove last symbol ";" from first string, then all work fine,
If in *.css present any non-valid element, then all css ignored. (Example: "@ import", ""@Im port")
Thanks for your reaction. I corrected the ";" and re-tested extensively and came to the conclusion that my epub.css file probably is not read and therefor hyphenation is not switched off. Is there a way to enable logging? (I used the W3C checker to validate the .css file).
For your information I tried storing the epub.css in the following directories:
/cre/epub.css
/crengine/epub.css
(SD-root) /crengine/epub.css
I also took the epub.css contained in the source code repository as a template, but no effect. Hyphenation is still active.