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 05-18-2019, 08:01 AM   #1
EwaP
Junior Member
EwaP began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2019
Device: none
Calibre Blank Pages Issue

Hi everyone. I'm having blank page issues with one of my ebooks that I'm creating in Calibre. Essentially there is a blank page between almost all my pages. Majority of the pages that I have are picture files. I have checked to ensure the pictures were small enough, not to overflow onto the next page.

Is there a code I can add to tell the file to end the page or something else I can try?

I'm pretty new to this so it's been a struggle for sure. Below is the coding i'm using on majority of the pages. Any suggestions would be greatly appreciated.


<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
<meta name="Generator" content="Atlantis Word Processor 3.2.13.3"/>
<link rel="stylesheet" type="text/css" href="../Styles/style.css"/>
<title></title>
</head>
<body>
<p class="p2"><span class="t26">&nbsp;</span></p>
<h1 class="h10"><a id="ncx232"></a><a id="a83"></a>Maple Cream Cheese Toast</h1>
<p class="p0"><span class="t23"><img src="../Images/img19.jpg" width="528" height="335" alt="img19.jpg"/></span></p>
</body>
</html>
EwaP is offline   Reply With Quote
Old 05-18-2019, 10:38 AM   #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: 23,204
Karma: 24100002
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Blank pages can also be created because what is called to be there won't fit.
It might be invisible.
Top and bottom margins and/or padding that are part of pictures or text.
I avoid bottom margins on text blocks, just because of this. You see the text right where you want it (it is right at the bottom of the screen), but you get a blank page because there was no room for the Bottom Margin. So, I just use the TOP margin to space the next P (any block item) down.
If this is the case, Using the Text size SMALLER on the reading device, may make the blank go away because the screen full, now fits

a CSS page_break_before(after): always assigned to the Starting (first) blocks class ("p2" OR "t26" in your case)
You need to add up the vertical margins and padding for the entire body in this case (single page).
Lucky for you, the calibre Editor includes the "Inspector" tool that can displa the current metrics for the selected block. (choose each nested block, and see whats going on an in the right pane). Remember the first C in CSS is Cascade. Your margin numbers may be accumulating.
Attached Thumbnails
Click image for larger version

Name:	Editor_Inspect.JPG
Views:	35
Size:	83.2 KB
ID:	171495  
theducks is online now   Reply With Quote
Old 06-03-2019, 09:45 AM   #3
deback
Book E d i t o r
deback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the enddeback knows the complete value of PI to the end
 
Posts: 291
Karma: 31930
Join Date: May 2015
Device: Laptop
<p class="p2"><span class="t26">&nbsp;</span></p>
Get rid of the above line. You don't need it.

<h1 class="h10"><a id="ncx232"></a><a id="a83"></a>Maple Cream Cheese Toast</h1>
Setup the margins in your "h10" class in the CSS file. Why do you need two different "IDs"?

<p class="p0"><span class="t23"><img src="../Images/img19.jpg" width="528" height="335" alt="img19.jpg"/></span></p>
You probably don't need the <span class="t23"> in the above line. Configure whatever settings you want and need in the "p0" class in the CSS file and use <span>s only when they are necessary.)
deback is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Blank Pages EwaP Introduce Yourself 1 05-18-2019 05:35 AM
Blank Pages with Calibre C_Gordon Conversion 2 12-07-2018 10:07 PM
issue with blank pages iain robinson ePub 23 01-25-2018 03:16 PM
Boox M92 shows only blank pages for calibre generated pdf after about page 45 thijso Onyx Boox 1 10-12-2014 05:38 AM
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) David Derrico Calibre 5 08-04-2010 12:13 AM


All times are GMT -4. The time now is 05:20 PM.


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