Quote:
Originally Posted by roland1
I'm putting out an epub version of a book I published before. It is a book of questions, and each questions has a topic heading. In other words, there's a title followed by a paragraph of text, usually 2 lines or less.
Sort of question1: I want to make 3 or four questions per page. I guess I'll have to split the pages, right?
|
The only way to
100% guarantee this working across all devices is to:
- split each question+answer into its own HTML file.
Otherwise, you have to rely on:
Your ebook can then make
suggestions to the device—"please break here"—but most devices don't support (or will ignore) that CSS code.
- - -
Side Note: For more detailed info, see my responses and code examples in:
In those threads, I also went into extreme detail on lyrics/poetry, where you sometimes want these things kept together as entire chunks.
(I believe one of those users had a book full of poems, so wanted each poem starting on its own screen.)
- - -
Quote:
Originally Posted by roland1
Serious question2: Can I keep titles (H3) together with <p> the next paragraph? I can't seem to find any css code for that or any decent instructions.
|
It's possible... But would it work well on actual devices? Not really.
When I deal with poems + figures/captions, I follow the best practices I described in the links above, then cross my fingers and hope better devices/readers come out in the future.