View Single Post
Old 05-25-2018, 06:05 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by ptmkenny View Post
The Kindle macOS and iOS reading apps include a "Color Mode" that lets the user select from among "White," "Black," and "Sepia."

When making an ebook, if I have a
Code:
<p>
tag and add CSS such as
Code:
background-color: hsl(240, 100%, 87.5%);
, the paragraph will show up on a purple background as expected in "White" mode. However, in "Black" and "Sepia" mode, all such background colors are ignored.

Is there a way to force the background color to apply regardless of the Color Mode, or does the Color Mode override the CSS of the book?
I assume that you are already aware that this won't work, at ALL, on the millions of KF7 devices--right?

Quote:
I was hoping to be able to specify a font color and background color for certain
Code:
<p>
tags.
Our works. I'll have to look at the coding that we use, but it's obviously doable. What device are you testing this upon? Presumably, you've remembered to load an AZK to the iOS, yes?

ETA: Question--are you trying to make backgrounds for a text box, or, like highlighting of a sentence/line para?

Hitch

Last edited by Hitch; 05-25-2018 at 06:32 PM. Reason: Added the ETA.
Hitch is offline   Reply With Quote