View Single Post
Old 03-16-2011, 09:01 AM   #1
bfollowell
Fanatic
bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.bfollowell ought to be getting tired of karma fortunes by now.
 
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
Why define a paragraph as a span with no different or extra formatting?

I'm not sure if this is the best forum for this question or not. It applies to pretty much any ebook in any format but, since I happen to be using epub, I'll ask it here.

Maybe I'm missing something but I'm a little confused with as to something would be defined as a span with no different or extra formatting.
I mean, I've seen spans like:

<span class="italic">whatever</span>

or

<span class="bold">something else</span>

but what purpose would defining something as a span with nothing else serve? Something like:

<span>just regular old text</span>

The only thing I could see is that it just takes up space and makes the file a little larger.

Am I missing something?

I've seen similar occurrences of the <div> tag. If something isn't really different, I really don't understand the purpose of setting it apart from the rest of the text or chapter.

I have an epub that has almost every single paragraph defined as a span and I can't figure out why or if it would cause me any problems to remove a 4,000 of these occurrences.

Thanks for any advice.

Sincerely,
- Byron
bfollowell is offline   Reply With Quote