View Single Post
Old 04-30-2017, 10:16 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Most Readers that use ADE don't have the page numbers in the right margin or there is an option to turn them off.

Best practice is to allow the default values where possible such as margins, line-height, & font size. Current Readers allow for margin changes, line-height, and font size. So you really don't need to add in your own values. Plus, @page causes issues with ADE and the right hand page number in that it move the page number from the right side based on your @page. Oh and don't left justify. It looks awful. One more thing, don't use margin shorthands. Use the long form of margins. It helps with comparability.

To ensure maximum comparability, keep your code as simple and clean as possible. Also, make sure it validates in the latest version of epubcheck.

Do you want advice on formatting as well?
Stop talking nonsense Jon about @page. The @page is perfectly supported by ADE for many, many years. Even my very old PRS-300 supported it.
Also, some readers like left justify, others not. It is a personal opinion. Some want a small margin on each page, others don't. It is also a personal opinion.

Now, shorthand in CSS is better to be avoided because indeed some readers cannot handle it correctly. I also recommend to keep formatting as simple as possible.

Think about using relative instead of fixed values for certain styling such as font-size. It gives the reader much more flexibility.
Toxaris is offline   Reply With Quote