Quote:
Originally Posted by arspr
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!