![]() |
#1 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
epub - unwanted page break after image
The HTML source I am using has an image at the top of each chapter start page. The first time the image is encountered, the image is followed by the text. At the start of chapter 1 the very same HTML is encountered and it throws in a page break after the image:
<body style="background-image: url(../img/bg-usn.gif); direction: ltr;"> <center> <img src="img/PT.jpg"></center> <center> <h2>Part I<br> Any suggestions? |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Don't use <center>, use CSS text-align instead.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
use css
Thanks for the suggestion, but no go. No luck putting the image in a div either.
|
![]() |
![]() |
![]() |
#4 |
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#5 | |
book creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,657
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Many thanks
Eliminating part from the X-path got rid of the page break. The text is from a series of HTML pages on the web, so navigation is built in anyway.
This gets rid of a road block so I just need to improve links to and from footnotes and then it will be ready to post. Again, many thanks, Mike |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi to epub page break | mr.ninja13 | Calibre | 23 | 08-09-2011 02:06 PM |
[Old Thread] epub -> mobi conversion; blank page after image | joubert | Calibre | 10 | 03-07-2011 05:26 PM |
Double chapter break when removing first image | tochill | Calibre | 0 | 03-04-2010 07:41 PM |
Strange behavior converting from ODT to EPUB, lots of page-break | superanima | Calibre | 0 | 01-25-2010 02:57 AM |
converting epub to pdf: can't get the front page image in | Nicoo | Calibre | 3 | 12-05-2009 08:18 AM |