View Single Post
Old 10-06-2016, 10:59 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,945
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jackie_w View Post
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}
in the CSS file rather than bgcolor. But if Google Play Books is not rejecting your original it doesn't sound like this is the problem.

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?
If you set body Background to Black, you would also need to set text to: color: white

or
assign a separate body.class to those pages without text

Calibre tweak-book (the editor) has a very good validator
theducks is offline   Reply With Quote