View Single Post
Old 07-17-2017, 09:04 AM   #13
JustinThought
Groupie
JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.JustinThought ought to be getting tired of karma fortunes by now.
 
JustinThought's Avatar
 
Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
Quote:
Originally Posted by Turtle91 View Post
I've noticed a <div> surrounding each chapter in some books before...never really understood the need. Is that a requirement of ePub3 or something?

You could just as easily apply any styling to the <body> or <p> tags one time in the CSS and have it accomplish much the same thing.
Quote:
Originally Posted by theducks View Post
There are some strang coding conventions out there. Not Wrong, just unnecessarily convoluted as Turtle91 noted.
A tag with 3 spans covering the entire block
IMHO time for a new (simple) style that does all 4 things with 1 (CSS) lookup
Just to jump in with an observation, whenever I get a new book, the first thing I do is to open it up in Sigil. My intent here is to see if I can learn new tricks, procedures, and ways to build an e-book.

But more frequently, what I find are new ways not to do things. Then I'll see that there's some indication that the book was built with one of those "instant e-book maker" programs (names escape me right now) and they've done exactly what you said, Turtle, placed a <div> around the whole chapter, or loaded the text up with unnecessary <div>s, or whatever.

And it's a constant reminder, not all programs are as well made as Sigil.

Of course, the user can then turn around and muck things up. (This is the voice of experience speaking here...) But there's not much you can do to protect against that!
JustinThought is offline   Reply With Quote