Quote:
Originally Posted by JSWolf
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