View Single Post
Old 03-14-2015, 12:00 AM   #104
dordale
Wizard
dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.dordale ought to be getting tired of karma fortunes by now.
 
dordale's Avatar
 
Posts: 1,731
Karma: 3472866
Join Date: Apr 2008
Device: Sony PRS-650 & 350; Kindle Voyage; Kobo Aura HD, Aura One, and Forma
Quote:
Originally Posted by arspr View Post
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.
Okay--checked my ePub file--all margins in the file seem to be set to zero.

The body tag references the following code in the stylesheet:

.calibre {
display: block;
font-size: 1em;
line-height: 1;
padding-left: 0;
padding-right: 0;
text-align: justify;
margin: 0
}

There is a seperate page_styles.css. The only code contained in this stylesheet is:

@page {
margin-bottom: 0;
margin-top: 0
}

No div tags in this book.

Hope this helps!
dordale is offline   Reply With Quote