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 02-06-2026, 11:31 PM   #1
Topcliffe
Junior Member
Topcliffe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2026
Device: none
Eliminate Top/Bottom White Space on Page

Hello, I'm an ebook newbie and total dullard when it comes to coding. I'm in the process of formatting an ebook with Calibre editor, but when I preview the book in Kindle Reader or on KDP's online previewer, there's too much white space above and below the text.

Is there an overarching setting in CSS that controls that feature?

Many thanks in advance for any help or insights.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-02-06 200445.png
Views:	22
Size:	749.0 KB
ID:	220771  
Topcliffe is offline   Reply With Quote
Old 02-07-2026, 12:18 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,512
Karma: 62503986
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Most of that is the KINDLE. Margins top and bottom.

Do check the Margins in the BODY in your book. IIRC the big A dislikes you setting those on books for sale (their store).
theducks is offline   Reply With Quote
Old 02-07-2026, 12:22 PM   #3
Topcliffe
Junior Member
Topcliffe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2026
Device: none
Quote:
Originally Posted by theducks View Post
Most of that is the KINDLE. Margins top and bottom.

Do check the Margins in the BODY in your book. IIRC the big A dislikes you setting those on books for sale (their store).
Thanks, that's what I figured. I looked at other ebooks on my Kindle Reader and it's the same.

Right now the margin is set to 5%:

body {
margin: 5%;
font-size: 100%;
font-family: "GaramondRegular", serif;
line-height: 1.35em;

I don't want to make it 0% because it also affects the left-right margin.
Topcliffe is offline   Reply With Quote
Old 02-07-2026, 12:24 PM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,700
Karma: 245099999
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
It might be several things. Top and bottom margin, or widows and orphans. Hard to say without seeing the code.
Sirtel is online now   Reply With Quote
Old 02-07-2026, 12:30 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,512
Karma: 62503986
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Code:
body {
margin: 5%;
font-size: 100%;
font-family: "GaramondRegular", serif;
line-height: 1.35em;
5% is huge and is subject to USERS selected font.
Then you added line-height: (1.2 is standard and default)
theducks is offline   Reply With Quote
Old 02-07-2026, 02:16 PM   #6
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,700
Karma: 245099999
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Delete line-height. Let your readers set their own.
Ditto for body margins.
Sirtel is online now   Reply With Quote
Old 02-07-2026, 02:59 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,066
Karma: 150871335
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
And set widows and orphans to 1. This is what I do...
Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  widows: 1;
  orphans: 1;
  text-indent: 1.2em;
}
You can add windows and orphans to any other CSS entry you feel they may be needed.

Last edited by JSWolf; 02-07-2026 at 03:03 PM.
JSWolf is offline   Reply With Quote
Reply

Tags
ebook formatting, layout, margins, padding

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
read comic books on kindle paperwhite. landscape view top and bottom half of page iateadonut Amazon Kindle 1 11-24-2023 01:59 PM
Remove empty space at the bottom of page before figure. bo4568 Workshop 11 07-05-2020 09:17 AM
White space at the bottom of an epub on prs 650 sage79 Sony Reader 6 04-11-2013 03:21 PM
Scene breaks at page top/bottom radius Workshop 20 12-15-2009 07:59 PM
RTF Settings and blank space at the bottom of the page Greg G Sony Reader 2 10-10-2006 06:31 AM


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


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