View Single Post
Old 12-17-2015, 07:01 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by JSWolf View Post
I don't recall needing to span stuff to get alignment to work and that was when I had my 1st gen iPad. Is that correct with that version iBooks?
Wolfie, mon sweetie:

Recollect ye not the kerfuffle with iBooks? The bloody thing wouldn't align text--rather notoriously, centering, specifically--without empty spans around the element. It had two big bugs: it ignored any font information conveyed in spans, IIRC, (and...paragraphs and divs, I think--not 100% sure I remember everything), and it absolutely, positively, ignored the text-align CSS when full-justification was on. That presented pretty much everyone with a huge problem because the default shipping value for iBooks in 1st-Gen iPads was, you guessed it--ON.

For reasons that nobody--anywhere--understands, you had to put empty spans inside the <p></p> tags surrounding the paragraph element--and then iBooks would honor the text-align instructions that were carried on the P tags. (IIRC, you also had to do this for any of the h1-h6 tags, too). I kid thee not. I don't believe that it's ever been fixed. We have fallen out of the habit of doing it for each and every ePUB, for most of our clients aren't distributing to iBooks. We ask; if they are, or are using SW, etc., we put those little buggers right back in.

Hitch
Hitch is offline   Reply With Quote