You must be logged in to post Login

Search Forums:


 






ePub – Text on page not centering

UserPost

11:56 am
September 3, 2011


soulartist

New Mexico

Member

posts 26


I have an ePub copyright notice page with text that should be centered, but it won't. The page is centered when viewed in Dreamweaver and Adobe Digital Editions.

I could use help in resolving this. What should I provide to diagnose the problem?


Thanks. 

4:42 am
September 4, 2011


Jongware

Member

posts 763

It would be helpful if you could tell on what device the page doesn't center.

(And if that's an iPad or Android tablet, using what software. If the answer is "iBooks on the iPad", you might want to read all of Liz Castro's Pigs, Gourds and Wikis blog posts — she has a couple of pointers on how to wrestle iBooks into submission.)

1:02 pm
September 4, 2011


soulartist

New Mexico

Member

posts 26


Yes. It's the iPad. 


I still would appreciate personal help from someone on this blog. I could provide the page and accompanying CSS.


Thanks again. 

11:37 am
September 7, 2011


sarahchager

Member

posts 30

@soulartist, Jongware's advice is sound. Your help from this blog is the link to Liz Castro's blog where there's all kinds of good info about iBooks and iPads.

Having said that, my suggestion would be to add a <span> tag. Here is a copy and paste from my reply to another thread on this forum:

the iPad is weird about centering text. Even though the style tells it to align center, it doesn't listen unless there is a <span> tag also, even if it's empty. Just a weird quirk. Try this:

<p class=yourcssstylename><span>Centered Title</span></p>


Hope that helps.

Sarah

12:37 pm
September 7, 2011


soulartist

New Mexico

Member

posts 26

Thanks Sarah:

I'll investigate this.


Eden

1:52 pm
September 7, 2011


Jongware

Member

posts 763

Post edited 1:53 pm – September 7, 2011 by Jongware


It's this entirely new learning paradigm: "don't you go and tell me where to find the solution, just tell me what it is!" I don't know, maybe I'm old fashioned.

This is the discussion I remembered it from: http://www.pigsgourdsandwikis……-bugs.html – but you'll still have to read it top to bottom by yourself, I'm not going to summarize it.

2:21 pm
September 7, 2011


soulartist

New Mexico

Member

posts 26

Hello Jongware:


I appreciate your point. I had visitied Elizabeth's blog some time time ago, and couldn't get a clue to another issue after several posts. 


I also have Elizabeth's ePub book, which is a good primer, but doesn't always have a solution.