10-06-2016, 11:29 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Android GT P4WiFi
|
EPUB on Google Play Books shows black bars
Hi. I got the Manga Guide to Calculus on ePub format. I read all my ebooks on the Google Play Books app for Android.
For what I've seen, the manga guide to calculus is all images. I've looked in to the css, and found a single code with a property of Code:
bgcolor: #000000 Can anyone help me solve this? TL;DR: Book made of images shows black bars at the sides on Google Play Books. |
10-06-2016, 12:16 PM | #2 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
What happens if you remove that line completely?
|
Advert | |
|
10-06-2016, 08:50 PM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Android GT P4WiFi
|
|
10-06-2016, 09:13 PM | #4 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I must admit I thought the up-to-date correct CSS to use for a black background would be something like
Code:
body {background-color: #000000} When you opened the epub in the calibre Editor did you run 'Check Book' to make sure there were no errors? Does the edited epub open OK in the calibre Viewer? I don't use GPB often enough to know its quirks. Have you tried any other Android reading apps to see if your book is valid there? |
10-06-2016, 09:44 PM | #5 |
You kids get off my lawn!
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Actually, jackie_w makes a good point. Are you using calibre's editor, or Sigil, or are you just opening the epub zip file and viewing the internal docs?
|
Advert | |
|
10-06-2016, 10:59 PM | #6 | |
Well trained by Cats
Posts: 29,891
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
or assign a separate body.class to those pages without text Calibre tweak-book (the editor) has a very good validator |
|
10-07-2016, 01:13 AM | #7 | |||||
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Android GT P4WiFi
|
Quote:
Quote:
Quote:
I'm not even sure changing the black CSS to white is changing anything, since those bars do not appear on the Calibre viewer. Perhaps there's another solution? Quote:
Quote:
|
|||||
10-07-2016, 05:15 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
OR, is your preference that the background color be something other than black? Which is the desired result? That the image fills the width of the screen, regardless of other issues, or that you want to change the color of the background (that's called margin). If the only goal is to change the background color, then you should be able to do that by changing the color in the CSS. Do you know if this Manga book is in ePUB3 or ePUB2? Hitch |
|
10-07-2016, 09:27 PM | #9 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2016
Device: Android GT P4WiFi
|
Quote:
My problem is, I only see those black bars on GPBs, and if I change the book's CSS (no matter if just a blank space), GPBs says the book can't be processed. |
|
10-07-2016, 10:19 PM | #10 | |
Bookmaker & Cat Slave
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Just as Sigil used to be not usable, for ePUB3 (or fixed-layout--another idea), because when it saved the file, it would override/overwrite the existing coding, to make an ePUB2-compatible book, is it possible that the Calibre editor is changing something in the metadata, or {insert list of possible stuff here, too long to list}, that is incompatible with the book? Like my example of trying to edit an ePUB3 file, with an ePUB2 editor? Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub problem using Google Play Books | SteveAdams | Android Devices | 11 | 07-09-2016 04:13 AM |
Converted ePUB rejected by Google Play Books | farleylai | Conversion | 2 | 09-27-2014 11:43 PM |
Converting mobi to epub for Google play books | tomassan | ePub | 5 | 04-01-2014 02:57 PM |
AZW3>EPUB conversions have tiny text on Google Play Books [Android] | taosaur | Calibre | 4 | 10-30-2013 02:14 AM |
Test EPUB files using Google Play | Morganucopia | ePub | 9 | 06-29-2013 08:13 AM |