![]() |
#16 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#17 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
remove the div.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
|
|
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#20 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
|
Quote:
https://bugs.launchpad.net/calibre/+bug/1914362 Now I just need to wait for respond right? |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
See the next response...
Last edited by deback; 02-03-2021 at 02:24 AM. |
![]() |
![]() |
![]() |
#22 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Try the following steps:
Replace your image code file with the following: <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>part0003</title> <link href="../stylesheet.css" rel="stylesheet" type="text/css"/> <link href="../page_styles.css" rel="stylesheet" type="text/css"/> </head> <body class="calibre-cover"> <div class="image"> <img alt="cover" src="image_rsrc2GE.jpg" class="calibre3a"/> </div> </body> </html> Add the following to your stylesheet.css file: .calibre3a { height: 100%; width: 100%; } .calibre-cover { display: block; padding-left: 0; padding-right: 0; text-align: center; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; } .image { display: block; text-align: center; padding: 0; margin: 0 0; } Copy the following to a blank file and save it as page_styles.css. Add the page_styles.css file to your epub file (Ctrl-F5): @page { margin-bottom: 5pt; margin-top: 5pt; } After you've done the above steps, right click on the image html file and click "Link Stylesheets." Let me know what happens with your cover image. Last edited by deback; 02-03-2021 at 02:28 AM. |
![]() |
![]() |
![]() |
#23 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#24 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
It should have changed the image file. Have you run Check Book to see if Calibre will find any errors?
I would have to see the entire epub file to see where the problem is. |
![]() |
![]() |
![]() |
#26 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
|
Quote:
BTW I'm using calibre 4.8, and have the same problem after I update to the latest version which I return to use 4.8 again |
|
![]() |
![]() |
![]() |
#27 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
I have the file in Calibre 3.48 (the version should not matter at all). I changed the codes to be what I told you to do above. Now I'm seeing full-screen images in both pages using Adobe Digital Editions 1.7. I'm certain I would see the same full-screen images using ADE 2.0 and the most recent version 4.?.
Here is the full HTML for each page, after I revised both. Page 1: <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>part0001</title> <link href="page_styles.css" rel="stylesheet" type="text/css"/> <link href="stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body class="calibre-cover"> <p class="image1"> <img alt="Image" src="cover.jpeg" class="calibre3a"/> </p> </body> </html> Page 2: <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>part0002</title> <link href="../page_styles.css" rel="stylesheet" type="text/css"/> <link href="../stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body class="calibre-cover"> <p class="image1"> <img alt="Image" src="image_rsrc2GE.jpg" class="calibre3a"/> </p> </body> </html> I never saw any line at the bottom of either image...not when I first opened the file or after I revised the file. If you're still seeing a line at the bottom of either image, then that would have something to do with your e-reader software. Here are the classes that I added to your stylesheet.css: .calibre3a { height: 100%; width: 100%; } .calibre-cover { display: block; padding-left: 0; padding-right: 0; text-align: center; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; } .image1 { display: block; text-align: center; padding: 0; margin: 0 0; } Copy and paste each page above over everything in each page in the Calibre editor. Then copy and paste the three classes (listed above) to your stylesheet.css file. Then highlight both HTML files at the left in Calibre and right-click. Click on Link Stylesheets and then click on OK. If it still doesn't look right to you, let me know, and I'll find out how to attach the revised file to a message here. I've never attached a file here, so I'm not sure how to do that at the moment. |
![]() |
![]() |
![]() |
#28 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#29 |
Book E d i t o r
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
|
![]() |
![]() |
![]() |
#30 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I remove white space under the full page image. | piyarad27 | Conversion | 0 | 01-17-2021 03:41 AM |
How to make pages with full bleed / full page images | mypointofview | Editor | 5 | 06-21-2016 05:45 PM |
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } | cybmole | Conversion | 15 | 02-12-2011 11:57 AM |
Changing Margin Settings to use full width of the Screen??? | JBlyth | Kobo Reader | 9 | 07-05-2010 09:54 AM |
Changing Margin Settings to use full width of the Screen | JBlyth | Kobo Reader | 0 | 07-02-2010 10:31 PM |