Quote:
Originally Posted by C_Gordon
Hi, @theducks. Thanks so much for your assistance.
I generally select "Tablet" (Unlimited Screen Size) for the Output profile when converting to EPUB, otherwise, the images will convert very blurry - I'm not sure that is what you mean by fitting the image to the size of the screen? (I'm not that tech-savvy).
However, it SOMETIMES works if I go to the code of the page that precedes the blank page, and delete any extraneous code I see at the end (like this: <p class="block_2" id="calibre_pb_0">*</p>). When I save the changes and preview the book again, the blank page would be gone. BUT it doesn't always work. That's why I am seeking a more preventable or permanent solution.
Is there anything that I am missing or doing wrong?
|
You took the A-bomb approach to dislodge a Gopher
Most EPUB use very basic HTML / CSS
Let us dissect you excised code:
<p It is a Paragraph block
class= It uses a Style/Stylesheet
id= This is just a unique bookmark to be able to locate this spot
> the end of the P declaration
* the content to be displayed. usually text or images
</p> the end of the P block
OK, when (if) you blew away that entire code as shown, you removed vertical space consuming content. (think a brick stack for each block type tag)
Back to the CSS (stylesheet). 'Block_2' was the recipe the designer used to describe how to make a block used
for that spot. Other spots will have specs (the mold) for the blocks to be used in those locations.
So you need to find in the CSS, Block_2 and decode (see what it does) the
specs.
In your example, things are basic and simple

The C in
Css makes it a bit more complicated to decode.
C for Cascade. Very simple stated: You start as before, but now you add a layer, rather than define a totally new block.
There are a few really good

CSS tutorials here at MR (that is how I got started down this dark path

)
Baby steps.
Make yourself a 'Sampler' book (use the Editor) to try things to see what happens when you change 'this&that'

in the style