05-30-2019, 11:30 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2019
Device: Kindle Paperwhite
|
Layout/Stylesheet colapse while reading on Kindle Paperwhite
Hello,
I'm new with working on calibre and could use your help. I've edited an ebook with calibre with the following stylesheet. .calibre7 { It works fine according to the live viewer in calibre editor.color: #000; } .calibre27 { display: block; text-align: justify; text-indent: 1em; margin: 0; } .italic { font-style: italic; } It also works fine on the first vew pages of my kindle, but then suddenly the layout is completly different. What am I doing wrong? |
06-01-2019, 08:13 PM | #2 |
Addict
Posts: 378
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
|
Your first image shows the indent as the CSS says. On the second page you lose the indent and get some paragraph spacing. Look at the text, in the editor, where the change happens. Where it is correct you will probably see paragraphs starting <p class="calibre27">....... -- but where it changes you may see simply <p>......., or some other style. Another possibility is some <div> starts to surround the text and change the styling. Use find and replace to get all the paragraphs the same...but look carefully at the rest of the text to make sure you don't clobber something else by accident.
If that is not the case, post the page code at the point of change so we can see it. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading punjabi books on the kindle paperwhite | loco | Amazon Kindle | 9 | 10-06-2020 05:19 AM |
Reading html files on kindle paperwhite firmware 5.9.7 | porphyry5 | Amazon Kindle | 4 | 10-30-2018 01:12 PM |
Night Reading Kindle Paperwhite vs Voyage | emmabee | Amazon Kindle | 54 | 09-15-2015 10:48 PM |
Kindle Paperwhite 2 keeps crashing when reading Calibre Newspaper | duydangle | Amazon Kindle | 15 | 03-15-2014 06:14 AM |
Kindle 3 better for night reading than Paperwhite? | WDeranged | Amazon Kindle | 11 | 05-18-2013 02:50 PM |