Quote:
Originally Posted by JSWolf
But there are some rules that work.
Keep the base font size at 1em and offset text as well.
Do not embed a rubbish font to replace the base font.
Do not embed any fonts that does not look good on eInk.
Do not waste too much space for the chapter header.
Do not set right/left margins.
Do not set a line-height.
Make the code streamlined so there is less chance of a problem.
If you do use a program that generates rubbish code, hand fix the mess you made.
|
Yes, to all of that, and:
No CSS defined white-space
No blank lines, use top or bottom margin in the CSS for a suitable header or paragraph.
Any space above the first element in a file should use padding-top, not margin-top as some renderers strip margin-top on first element.
Use CSS with a <p tag, not a <blockquote
never use inches, mm, cm.
never use px on margins and font sizes
No coloured body or header text.
No coloured backgrounds.
No external content.
The no left & right margins is generally. Some things like lists, lyrics/poetry, quotations, marginalia, preambles might .