View Single Post
Old 07-04-2011, 07:40 AM   #4
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
I had some centering problems with iBooks also. iBooks wouldn't center paragraph but was centering header tags correctly. The solution I found after a bit of research was to add <span> and </span> tags right inside the element you want centered. To use the example above, I would in the text put <p class="centre"><span>*</span></p> instead. It worked for me at least. And yep, no indent on the centered stuff.

Good luck.

Edit: And yes, the <span> tags were added because of the full justification thingy. When I turned that off, things were centered correctly without the <span> tags, but not when turned on.

Last edited by mtrahan; 07-04-2011 at 07:42 AM. Reason: Precision
mtrahan is offline   Reply With Quote