View Single Post
Old 01-04-2011, 08:41 PM   #37
panda6855
Enthusiast
panda6855 began at the beginning.
 
panda6855's Avatar
 
Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
Thanks Hitch. Very enlightening and clarifying for me - big AHA!.

Quote:
Originally Posted by Hitch View Post
Panda:
Is your understanding of the alignment of these specific pages based solely on the iPad?
Yes - only by viewing the files on iPad. Having seen your post, I've now looked at the files in Adobe Digital Editions and see the difference. Those paras don't align left in ADE but ADE adds return (line space) after every paragraph break.

Quote:
Originally Posted by Hitch View Post
I ask this because, as I have noted elsewhere on MR in threads, iBooks has notorious problems with centering, as it ignores "text-align:center" unless you have that specific element wrapped with a second element. In other words, you have to have something like a <span> inside a <p> for text-align:center to work; or another element. FWIW, iBooks also ignores all the page-break: element controls, or widows or orphans.
Aha. Thanks, I'd love to try that. Being a newbie to code... where EXACTLY do I place that code? Is it on every page or on every paragraph? And what EXACTLY should the added code be - how should it read? Should I post a full page of code so you can see and advise?

Quote:
Originally Posted by Hitch View Post
Does this help you, because what you posted as the CodeView isn't that helpful, you didn't include any of the misaligned body text elements for us to look at.

Hitch
I believe it does, thanks. I hadn't thought of the device being the issue. Interesting how the different readers render the same file in such different ways. However, the book looks dreadful with the left alignment on those pages so my preference would be to minimise the risk of that happening by adding the code you suggest.
(Btw, I just posted what I understood I was asked to post.)

Many thanks for help.

Last edited by panda6855; 01-04-2011 at 08:46 PM.
panda6855 is offline   Reply With Quote