Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2011, 09:13 AM   #1
marcelo2605
Member
marcelo2605 began at the beginning.
 
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;
}
In Adobe Digital Edition, looks fine. But when a saw this book in Ipad, the background color disappear. Why?
marcelo2605 is offline   Reply With Quote
Old 04-03-2011, 09:35 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by marcelo2605 View Post
I set a background color for my epub book in Sigil adding this lines to template.css

Code:
body{
      background color: #f48000;
}
In Adobe Digital Edition, looks fine. But when a saw this book in Ipad, the background color disappear. Why?
Because whatever reading software you are using in the iPad does not support/obey background color.

By the way, you included the hyphen in "background-color", didn't you?
Jellby is offline   Reply With Quote
Advert
Old 04-03-2011, 10:01 AM   #3
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,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:
Originally Posted by Jellby View Post

By the way, you included the hyphen in "background-color", didn't you?
You saw that too.

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.
theducks is offline   Reply With Quote
Old 04-03-2011, 02:59 PM   #4
marcelo2605
Member
marcelo2605 began at the beginning.
 
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.
marcelo2605 is offline   Reply With Quote
Old 04-04-2011, 05:55 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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...
Toxaris is offline   Reply With Quote
Advert
Old 04-04-2011, 08:45 AM   #6
marcelo2605
Member
marcelo2605 began at the beginning.
 
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.
marcelo2605 is offline   Reply With Quote
Old 04-05-2011, 03:13 PM   #7
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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...
Toxaris is offline   Reply With Quote
Old 04-05-2011, 05:51 PM   #8
marcelo2605
Member
marcelo2605 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Device: iPad
Hummmmmm...

Thanks Toraxis
marcelo2605 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 08:28 AM.


MobileRead.com is a privately owned, operated and funded community.