Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 07:21 PM   #1
foosion
Addict
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 217
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
<span>Surrounding text</span>

A book I'm reading puts span tags around all text. Most are

Code:
<p><span>Paragraph of text</span></p>
but occasionally they surround a single letter.

Is there any good reason to do this? For that matter, is there any good reason to delete them all (other than a bit of space saving)?
foosion is offline   Reply With Quote
Old Today, 07:29 PM   #2
Turtle91
A Hairy 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: 3,150
Karma: 18843349
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Some software programs are just weird…. But…. That particular issue is something that kobo does for their kepub books. They use that span for some of their device functionality.

The individual letters surrounded by a span are usually used to apply styling. Eg the first dropcap letter in the chapter.

Since you use a kobo I’d just leave them, they don’t really hurt anything.
Turtle91 is offline   Reply With Quote
Advert
Old Today, 07:45 PM   #3
foosion
Addict
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 217
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
This is in an original epub, not from kobo. Sounds like there's no good reason for it, but no harm either.

EDIT: A problem with strikethrough that seems to be a kobo issue, unless there's a general epub solution: https://www.mobileread.com/forums/sh...4&postcount=44

Last edited by foosion; Today at 08:45 PM.
foosion is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Span Span Span Sigil cleaning up indesign blackest Sigil 31 12-06-2017 10:16 AM
Span Span Span Span MULTIVAC ePub 7 12-06-2014 08:58 AM
span in span: is this problematic? tbuyus ePub 8 03-31-2013 08:01 AM
Is there RegEx to <span> ALL CAPS text? phossler Sigil 4 03-10-2013 02:43 PM
Remove <br /> together with span, and only span Razzia Recipes 3 05-30-2011 06:55 PM


All times are GMT -4. The time now is 11:34 PM.


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