04-03-2011, 09:13 AM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: iPad
|
Background color
I set a background color for my epub book in Sigil adding this lines to template.css
Code:
body{ background color: #f48000; } |
04-03-2011, 09:35 AM | #2 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
By the way, you included the hyphen in "background-color", didn't you? |
|
Advert | |
|
04-03-2011, 10:01 AM | #3 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
ADE would have barfed all over (ignored the class) on an error . Apple is just Kray-zee (or arrogant) to have a color device and ignore basic HTML. ADE (used on many grey-scale E-ink devices) does color-(anything valid) fine. |
|
04-03-2011, 02:59 PM | #4 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: iPad
|
Jellby, is there any software for PC that simulates how the book will be an iPad? I'm using only ADE
In this case, I forgot the hyphen. |
04-04-2011, 05:55 AM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
AFAIK there is no such software. If you say iPad, do you mean iBooks? There are more apps for the iPad that can read ePub. Most are better in following specs too...
|
Advert | |
|
04-04-2011, 08:45 AM | #6 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: iPad
|
Thanks Toraxis. But I try to understand why when I set a background-color in css of my epub, this color don't appear in iPad's Stanza. And when I try in iBooks, the background color change to black.
|
04-05-2011, 03:13 PM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
That is easy to understand. Apple refused to follow the ePub specs and build it in their reading software. This is not the only example we have seen so far...
As to why Apple has made that decision... |
04-05-2011, 05:51 PM | #8 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: iPad
|
Hummmmmm...
Thanks Toraxis |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A page background color for less eyestrain? | racsw | Library Management | 13 | 03-01-2011 12:15 PM |
What is the normal background color of the JB mini? | Farhad | Ectaco jetBook | 4 | 02-25-2011 07:36 AM |
Background color when reading | swallman | Nook Color & Nook Tablet | 2 | 02-03-2011 01:09 PM |
Nook Color Background Formatting | Mr. Goodbar | Calibre | 1 | 12-06-2010 11:25 AM |
Background color of RSS feed | TerryBarth | Calibre | 7 | 09-14-2009 06:33 PM |