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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2013, 01:15 AM   #1
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,300
Karma: 11065610
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
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>
The only thing in the CSS is ".calibre26"...no styling for "span span" or even for just "span" for that matter. To me that means the outer span tags are completely superfluous... (yay, I got my SAT word in for the day!)

Is there some device/app out there that requires the double span thing, or is that just a Calibre quirk?
Turtle91 is offline   Reply With Quote
Advert
Old 05-12-2013, 03:40 AM   #2
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,264
Karma: 113755271
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I believe old version of iBooks only did certain things after it was wrapped in a span. I hope they solved that by now.
Toxaris is offline   Reply With Quote
Old 05-12-2013, 05:13 AM   #3
Tex2002ans
Guru
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 758
Karma: 3800005
Join Date: Jul 2012
Device: Nook
Quote:
Originally Posted by Toxaris View Post
I believe old version of iBooks only did certain things after it was wrapped in a span.
Indeed, here is some more explanation:

https://www.mobileread.com/forums/sho...d.php?t=118576

http://www.pigsgourdsandwikis.com/20...ooks-bugs.html
Tex2002ans is offline   Reply With Quote
Old 05-12-2013, 05:25 AM   #4
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,300
Karma: 11065610
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
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!
Turtle91 is offline   Reply With Quote
Old 05-20-2013, 03:47 PM   #5
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 624
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Toxaris View Post
I believe old version of iBooks only did certain things after it was wrapped in a span. I hope they solved that by now.
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.
dgatwood is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
span in span: is this problematic? tbuyus ePub 8 03-31-2013 09:01 AM
What am I missing in using <span> for bold? zacsmith Sigil 31 03-25-2013 05:04 PM
Regex and span JSWolf Sigil 7 01-23-2013 07:35 AM
how do I span more than one line with regex BartB Sigil 3 12-11-2011 06:12 PM
Remove <br /> together with span, and only span Razzia Recipes 3 05-30-2011 07:55 PM


All times are GMT -4. The time now is 04:16 PM.


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