Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2011, 01:16 PM   #1
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Text still full justifying on iPad, even through style says align left

So I've been having this problem with my book, all of my titles, if the go more then one line, will fully justify on the iPad. Usually I just change the style to align:left, and that takes care of it. But I'm still having the problem on this book and I'm not sure why.

Here is my code:
Quote:
<p class="header">22. The Freeway Philharmonic</p>
<p class="BT-NoIndent">One of the San Francisco Bay Area’s great musical treasures is its freelance pool of classical musicians. Skilled, devoted, and often overworked, this group of some 400 instrumentalists provides the musical core of many of our region’s performing ensembles. ...
Quote:
p.header {
font-family : Times, serif;
font-size : 1.6em;
text-decoration : none;
font-variant : normal;
line-height : 1.42;
text-align: left;
color : #000000;
text-indent : 0px;
margin-bottom: 27px;
-webkit-hyphens:none;
adobe-text-layout: optimizeSpeed; <--! This is just to avoid hyphens on the Nook -->

}
And here is how it looks on the iPad:


Any help or suggestions would be appreciated, thanks.
SamL is offline   Reply With Quote
Old 09-28-2011, 03:54 PM   #2
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
Is this using iBooks? Have you tried another ePub-reading app to see if it displays differently on it?
susan_cassidy is offline   Reply With Quote
 
Advertisement
Old 09-28-2011, 04:09 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,216
Karma: 109735549
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Actually I don't see anything wrong. The header is left aligned. The text isn't, but you didn't post the class BT-NoIndent. If you have a problem with the text, we will need the description of that class.
Toxaris is offline   Reply With Quote
Old 09-28-2011, 04:56 PM   #4
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by Toxaris View Post
Actually I don't see anything wrong. The header is left aligned. The text isn't, but you didn't post the class BT-NoIndent. If you have a problem with the text, we will need the description of that class.
This is the code for the BT-NoIndent class:

Quote:
p.BT-NoIndent {
font-family : Times, serif;
font-weight : normal;
font-size : 1em;
line-height : 1.2;
text-align : left;
color : #000000;

}
SamL is offline   Reply With Quote
Old 09-28-2011, 04:58 PM   #5
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by susan_cassidy View Post
Is this using iBooks? Have you tried another ePub-reading app to see if it displays differently on it?
Yes this is an ibooks only problem so far, I've tested it on the Nook and Kindle as well. But my company mainly proofs on the iPad, and we sell most of our books through apple, so I'd like to get this optimized for ibooks.
SamL is offline   Reply With Quote
Old 09-28-2011, 05:24 PM   #6
adv_dp_fan
Zealot
adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!
 
Posts: 103
Karma: 57138
Join Date: May 2010
Device: Sony 505, iPad 1 & 3, Galaxy Note 8.1
Is it just the one book or are all your books on iBooks doing it? iBooks does have a "Full Justification" option in its settings page that will ignore alignment settings in the book but if it is just the one book than that wouldn't be your issue.
adv_dp_fan is offline   Reply With Quote
Old 09-28-2011, 06:06 PM   #7
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by adv_dp_fan View Post
Is it just the one book or are all your books on iBooks doing it? iBooks does have a "Full Justification" option in its settings page that will ignore alignment settings in the book but if it is just the one book than that wouldn't be your issue.
its only this book. I've done several books with similar format, and this problem hasn't happened. I've even gone as far as to use all the header code from working books and paste it in this one, but the problem is still there.
SamL is offline   Reply With Quote
Old 09-28-2011, 07:19 PM   #8
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
It could be a weird side-effect from some other CSS error, maybe. Have you tried running the source through a validator, to see if anything pops up?
susan_cassidy is offline   Reply With Quote
Old 09-29-2011, 04:25 AM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,216
Karma: 109735549
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Is there in the CSS perhaps a specific setting for justification of the p, html or body class? It could be, that iBooks does not do the inheritance quite well. If for example the p class is in the CSS setting the justification on, it should be overruled. However, it might be ignored for paragraphs.
I also seem to vaguely remember that you can do a setting to justify everything by default on the iBooks, in fact it is the default. Have you turned that off?
Toxaris is offline   Reply With Quote
Old 09-29-2011, 01:10 PM   #10
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Ah fixed it! Toxaris was right, in settings ibooks was set to full justification. Its weird I haven't run in to this until now though. Thanks for your help as always everyone.
SamL is offline   Reply With Quote
Old 10-01-2011, 09:55 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 45,410
Karma: 32620990
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by SamL View Post
Ah fixed it! Toxaris was right, in settings ibooks was set to full justification. Its weird I haven't run in to this until now though. Thanks for your help as always everyone.
That isn't a fix. I think you'll find a lot of people are in full justification and this needs to be solved set that way.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Center align text in epub virtual_ink ePub 23 08-31-2011 07:27 AM
Creator Align left, how do I do that for Kindle AThirstyMind Kindle Formats 7 06-03-2011 03:33 AM
I can not align the text...help please! XD derfel_spain ePub 17 12-18-2010 10:45 AM
Full vs left justification in prc/Kindle cathyWeeks Workshop 10 08-01-2010 03:36 PM
Can you left justify text with the 360? maxbookworm PocketBook 11 05-31-2010 11:49 AM


All times are GMT -4. The time now is 04:13 AM.


MobileRead.com is a privately owned, operated and funded community.