05-12-2013, 12:15 AM | #1 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Nested Span?
I have seen this issue multiple times...usually after a Calibre conversion...and I'm wondering if there was some obscure property of a nested span tag that I'm not aware of...
I see something similar to: Code:
<span><span class="calibre26">CONGRATULATIONS</span></span> Is there some device/app out there that requires the double span thing, or is that just a Calibre quirk? |
05-12-2013, 02:40 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I believe old version of iBooks only did certain things after it was wrapped in a span. I hope they solved that by now.
|
Advert | |
|
05-12-2013, 04:13 AM | #3 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=118576 http://www.pigsgourdsandwikis.com/20...ooks-bugs.html |
|
05-12-2013, 04:25 AM | #4 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Well, that definitely answers my question...they are hacks to get ibooks to work. I feel better about not knowing about this issue...i avoid ibooks for more standards compliant readers/apps for my personal books.
For now, I'll just strip out the extraneous (ohhh 2 SAT words in one day/thread!! ) spans. Thanks! |
05-20-2013, 02:47 PM | #5 |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
IIRC, the spans are not necessary if you add the magic com.apple.ibooks.display-options.xml file with specified-fonts set to true. Otherwise, iBooks assumes that the book probably has crufty, broken CSS, and it ignores large swaths of it, e.g. font changes on spans.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
span in span: is this problematic? | tbuyus | ePub | 8 | 03-31-2013 08:01 AM |
What am I missing in using <span> for bold? | zacsmith | Sigil | 31 | 03-25-2013 04:04 PM |
Regex and span | JSWolf | Sigil | 7 | 01-23-2013 06:35 AM |
how do I span more than one line with regex | BartB | Sigil | 3 | 12-11-2011 05:12 PM |
Remove <br /> together with span, and only span | Razzia | Recipes | 3 | 05-30-2011 06:55 PM |