06-18-2023, 10:05 PM | #1 |
Evangelist
Posts: 452
Karma: 7446396
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
|
Odd margin error on Kindle
Attached is an epub source that shows some strange issues with margins when converted to any modern format that a Kindle can use (KF8 or KFX).
There are two pages in the epub...the first renders correctly on every reader other than a Kindle that I can test. The second page gives close to the results I want on a Kindle (including Kindle Previewer 3), but not on other readers. The CSS class heading-chapter is used to create a box that is at the right-hand side of the page. Then, heading-chapter-header and heading-chapter-number center that info in the box. Below that, the CSS class heading-chapter-image moves in the left and right margins from heading-chapter and then para-centerFirst is used to center an image that uses image-fitwidth to get the image centered and filling the width, so that the image will be generally narrower than the text (except for very small base font size choices from the reader). The problem is that the image is not centered on the text when rendered by the Kindle. I need to adjust the margins from being 30% on each side to being 25% and 10% (left and right respectively) in order to get close to centered. This seems like really simple CSS to me, and I'd like a version that works on all readers. Any ideas? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odd error message | sharkie335 | Amazon Kindle | 5 | 07-10-2019 10:54 PM |
Troubleshooting Odd text appearing on top margin of Kindle books (both on iPad and Voyage) | solitarywolf | Amazon Kindle | 7 | 07-14-2016 01:54 PM |
Where has odd/even page margin gone? | ManDay | Onyx Boox | 1 | 10-02-2013 08:44 AM |
Touch Odd error in PDF display | ottdmk | Kobo Reader | 10 | 07-22-2013 02:26 AM |
Book Creator - odd error | Bilbo1967 | Workshop | 5 | 05-16-2009 01:56 PM |