View Single Post
Old 01-21-2011, 03:39 PM   #1
marekl doesn't littermarekl doesn't litter
Posts: 11
Karma: 176
Join Date: Jan 2011
Device: Kindle/iPad
HTML-EPUB: no justified alignment in iPad (iBooks)

Update: Please ignore the question. It was my own mistake, I overlooked the Full Justification item in iBooks settings. I'm sorry.


I spent hours yet and I still haven't found solution of this justify issue:

I prepared very simple text in HTML and I want to have the common paragraphs <p> justified. So I made a CSS file with:

p {text-align: justify; text-indent: 1.1em; }
I linked the style file to Calibre terminal command (--extra-css=styles.css). It is really linked, because I see the indents in iPad iBooks viewer - but I see no justification.

Well, iBooks probably isn't able to justify text. No, it is. When I add simple <b> tag to some paragraphs to make them bold, they appear bold... and justified. Please look at picture attached. There is also HTML code which was used as source for the EPUB in the second picture - just very simple, nothing complicated.

What am I missing? Why the basic text has only left alignment and after I add bold, it will justify?

Thank you
Attached Thumbnails
Click image for larger version

Name:	justify.PNG
Views:	293
Size:	203.0 KB
ID:	65234   Click image for larger version

Name:	Screen shot 2011-01-21 at 21.36.59.png
Views:	267
Size:	75.3 KB
ID:	65235  

Last edited by marekl; 01-21-2011 at 04:39 PM.
marekl is offline   Reply With Quote