View Single Post
Old 05-09-2017, 08:02 AM   #2
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by fluoresce View Post
I have used the following lines of CSS code in my EPUB:

Code:
h2, h3, h4, h5, h6 {
page-break-inside: avoid;
page-break-after: avoid;
}
I have heard that using this code can cause problems for people using small screens in landscape mode.

It would be interesting to hear your opinions.

Should I not use this code? Can it cause problems? Is it well supported?

Another question . . .

Do you guys switch off hyphenation?
Those css properties only will work with RMSDK (ADE) based ereaders (in ereaders based on webkit won't work). I use those properties and so far I didn't find any issue (applied to h1-h6 headers).
And regarding hyphenation, I disable it for <h> tags.
RbnJrg is offline   Reply With Quote