View Single Post
Old 07-07-2026, 02:53 AM   #1
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,294
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Removing Spacing Between Paragraphs: Ignored by Kobo

After some 15+ years of self-taught epub editing, thanks almost entirely to MR, I have hit a brick wall with removal of spacing between paragraphs on one particular epub.

All my usual fixes are not being recognized by my Libra Colour and the double spacing throughout remains. However, in Calibre's editor paragraphs display normally with no spacing.

Here is what I typically use:

body {
font-size: 1em;
margin-top: 0;
margin-right: 5pt;
margin-bottom: 0;
margin-left: 5pt;
orphans: 1;
widows: 1;
}

p {
display: block;
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em;
}

Here is the CSS from the book which I replaced where applicable:

Body

Code:
body { line-height: 1.4; margin-left: 4%; margin-right: 4%; font-family: "Times New Roman", serif; }
img { max-width: 100%; max-height: 98%; }
small { font-size: 80%; } 
sup { line-height: 80%; font-size: 80%; }
sub { line-height: 80%; font-size: 80%; }
.shyphen { word-break: break-all; }
.hrline { margin-top:10%; margin-bottom:2%; margin-left:0%; text-align:left; width:30%; }
.Smallcaps { font-variant: small-caps; }
.Underline { text-decoration: underline; }
.Overline { text-decoration: overline; }
.Strike { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0 }
Paragraph - there are at least a dozen .pxxx references but this is the one applicable to the double spacing between paragraphs throughout the book:

.P18 {
text-align:justify;
text-indent:7%;
margin-top:0%;
margin-bottom:0%;
font-size:100%;
}

I am missing something somewhere and am not knowledgeable enough to figure out why the Kobo does not display it correctly but the Calibre editor does. I'm chomping at the bit to read my (600+ page) book but absolutely cannot tolerate looking at the spacing between paragraphs!

Where do I go from here to solve this?

Thank you very much!
Skydog is offline   Reply With Quote