View Single Post
Old 03-13-2015, 10:52 AM   #102
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by dordale View Post
I'm not very good at epub coding, so not sure if this will answer your question...checked out the code in one of my books in Calibre's ebook editor. It has references to a stylesheet in the < p > codes that refers to the following:
.calibre21 {
display: block;
text-align: justify;
text-indent: 1em;
margin: 0

Does that answer your question?
Yes and no.

That means that that paragraph has no margins. Now please check if the enclosing <body> has margins or not. There's always a <body> which contains the whole chapter/file text. (The paragraph margins are the sum of both).

Also check for a possible @page setting in either of the linked CSS style files. Calibre (as you seem to have a converted eBook) usually inserts one called Pagestyle.css (IIRC) with that setting specifically, (another possible margin to add).

And if there were <div>s enclosing your <p>s, (there usually aren't, but there could be even several nested levels of them), you also have to check their possible margins.

OTOH nearly sure dumb questions. Have you tested several words? Have you tested several books? Are you using kepubs (rather than epubs, I haven't tested with "common" epubs but just with Kobo flavor, and therefore renderer, of them).
arspr is offline   Reply With Quote