![]() |
#16 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() Chances are it is like theducks said. |
|
![]() |
![]() |
![]() |
#17 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() Understand the W3C 'The Box Model' Outer is Page Next is Body which contains 1 or more Block (P, Div...) Blocks have (*but not all are visible or used) Margin: The edges You can do some fun/amazing stuff with a Single block (box) once you wrap your head around boxes Border:* Lines surrounding: 0 size is default Padding:* Space from border to Text. default is small Text/Image ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
However, I could easily to be wrong now. The world has moved on in the 4 or 5 years since I last did this sort of thing, and the book rendering engines could be special purpose. |
|
![]() |
![]() |
![]() |
#19 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Considering that both calibre and Sigil explicitly add those spaces (Beautify/Pretty Print) I shouldn't think those would be a problem. Perhaps they once were? |
|
![]() |
![]() |
![]() |
#20 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
<html> <body> <font color="red">hi</font> <font color="green">there</font> </body> </html> I found HTML rules for white space to be fiendishly complicated. They are dependent on the rendering engine and the semantics of the tags surrounding the white space. My experience is that if the tag does not generate white space on its own (<p> does) then one may or may not see the white space implied by the returns. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
For your cover change:
Spoiler:
to Spoiler:
Find the image width and height using calibre ebook editor, and enter them in-place of the xxx and XXX. luck bernie |
![]() |
![]() |
![]() |
#22 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
<p> is a block-level tag, and whitespace after a </p> and before a </body> is ignored, but <font> is an inline tag and spaces appear (collapsed) just like they do between words of plain text, or separated using span,em,b,i,strong, etc. Your example has inline tags floating in a raw <body>, so I think the parser just throws up its hands and pretends there is a div or something there, but note that Code:
<html> <body> <font color="red">hi</font> <font color="green">there</font> </body> </html> As for <p> generating its own linebreak, it only defines a content block, and block-level tags are separated from other block-level tags by a linebreak. |
|
![]() |
![]() |
![]() |
#23 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Sigil/calibre editor has a tool to add a cover page, and will auto-generate an SVG wrapper with the right values.
|
![]() |
![]() |
![]() |
#24 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
so tapatalk renders differently to chrome, thus making your point |
|
![]() |
![]() |
![]() |
#25 |
Member
![]() Posts: 21
Karma: 10
Join Date: May 2015
Device: none
|
About the empty pages that emerge after the Cover page and before the Register and about size. The tutorial of ComputerTotaal advised size 600x900, when I then got an empty page after the Cover I already shrunk the Cover image to size 534x800 and this had no effect, still the empty page emerged.
When I experimented with Add-in for Word, the empty page disappeared, however I problably can't use that option for other reasons. |
![]() |
![]() |
![]() |
#26 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,532
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Often problems like this can be solved very easily if an example ePub with this issue is uploaded. Any chance you can upload either the ePub in question, or one that has been created solely to demonstrate the issue?
|
![]() |
![]() |
![]() |
#27 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
... but not if it's copyrighted material, please.
|
![]() |
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,532
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
#29 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I know that you meant that, Peter. Unfortunately we do sometimes get people who don't realise, though, hence the specific request. Easier to ask up front than to have the hassle of dealing with copyrighted material being uploaded.
|
![]() |
![]() |
![]() |
#30 |
Member
![]() Posts: 21
Karma: 10
Join Date: May 2015
Device: none
|
Hi PeterT and HarryT, thanks for your reply. Someone has offered to help me, so I hope he finds out what exactly the problem is with the empty page that emerges after the Cover page and before the Register.
|
![]() |
![]() |
![]() |
Tags |
calibre, empty page, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Print page range in viewer outputs single empty page | larzeb | Library Management | 2 | 04-30-2013 05:24 AM |
[Old Thread] New Kobo Touch not visible in Calibre | kzante | Devices | 6 | 09-16-2012 01:20 AM |
How to make the book format on the reader visible in Calibre | MRi | Library Management | 4 | 05-10-2011 03:45 PM |
Only Page 1 Visible Problem | aljud | Sony Reader | 3 | 05-04-2010 12:32 PM |
PDF Fit Visible per page/landscape view | jessesn | Sony Reader | 4 | 10-02-2006 10:42 AM |