Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2019, 11:30 AM   #1
zwergpunto
Junior Member
zwergpunto began at the beginning.
 
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 {
color: #000;
}
.calibre27 {
display: block;
text-align: justify;
text-indent: 1em;
margin: 0;
}
.italic {
font-style: italic;
}
It works fine according to the live viewer in calibre editor.

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?
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	152
Size:	1.21 MB
ID:	171712   Click image for larger version

Name:	2.jpg
Views:	148
Size:	1.38 MB
ID:	171713  
zwergpunto is offline   Reply With Quote
Old 06-01-2019, 08:13 PM   #2
retiredbiker
Addict
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
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.
retiredbiker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:07 PM.


MobileRead.com is a privately owned, operated and funded community.