01-26-2011, 05:59 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: iPod touch
|
ePub display issue in iBooks
So, I have some ePubs made in Sigil with photos interspersed throughout the chapters. The photos come with captions, all in a <div> tag to keep the photo and caption together.
Most of the chapters display correctly, but I have about three that override any reader settings I might have. For example, I generally my generic font-family settings of "serif" and "sans-serif" will all become Verdana when I select that option. But in these chapters, the body paragraphs will remain serif. It's definitely something relating to the photos because if I remove some or just one of the pics, that chapter will display correctly. But I'm racking my brains trying to figure out why, with the photos added back in, it goes back to being different and overriding reader settings. And, of course, the files validate and look fine in any other application. Anyone encounter anything similar? Any ideas? |
01-26-2011, 06:28 PM | #2 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: iPod touch
|
And I'm not sure if this will be much help, but it seems to be an issue with how apple is rendering things instead of my code. I added a paragraph of nonsense and all of a sudden the chapter displayed correctly.
Does anyone know whether iBooks has some overriding widows/orphans property set for paragraphs? |
Advert | |
|
01-27-2011, 01:14 PM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
iBooks has some quirks regarding ePubs. Widows and orphans is one of them. You have to put it in your stylesheet how many lines you want the widow or orphan to be.
|
02-08-2011, 01:38 PM | #4 | |
Addict
Posts: 259
Karma: 434
Join Date: Feb 2010
Device: none
|
Hi !
I’ve played around with iBooks and font-family too. iBooks doesn’t like to respect your font-family or text-align rules in all p, span and div. Exception : if there are other things in these elements, like span (even empty span…) or images, then the fonts work… Just read these posts : http://www.pigsgourdsandwikis.com/20...s-strikes.html http://web.me.com/david.mundie/Linde...Revisited.html http://web.me.com/david.mundie/Linde...in_iBooks.html And here is what Liz Castro is writing in her book, Epub straight to the point : Quote:
Last edited by NicolasR; 02-08-2011 at 02:11 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-350 PRS-350 Display Issue | sand.crab | Sony Reader | 4 | 01-15-2011 07:30 PM |
PRS-350 Issue with text/display | S.S. | Sony Reader | 5 | 11-14-2010 01:51 PM |
Chinese fonts display issue on kindle 3 | leungss | Amazon Kindle | 2 | 10-06-2010 12:48 PM |
epub display issue on sony 505 - pages on top of each other | skyfish | ePub | 6 | 01-14-2010 04:13 PM |
Display issue | allovertheglobe | iRex | 10 | 10-22-2008 04:16 PM |