Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2015, 12:41 AM   #61
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by JSWolf View Post
I put the justify in the body style. As for the font-family, I would not have put it in unless it goes with an embedded font. The font-size, I would dump as well. Also, the 0.00em should be just 0. The text-indent also is too small. I use 1.2em.

Code:
body {
oeb-column-number: 1;
widows: 1;
orphans: 1;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em
}
This is code I use.
justfication, like fonts, is something that should be determined by the device settings unless there is a peculiarly compelling reason in that specific case to specify it.

Just my $0.02

Some people prefer justified, some people prefer ragged right, and who are you to override their device settings just because you prefer it?

Set it in your own device settings and leave the default unspecified.
eschwartz is offline   Reply With Quote
Old 03-03-2015, 02:12 AM   #62
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: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by eschwartz View Post
justfication, like fonts, is something that should be determined by the device settings unless there is a peculiarly compelling reason in that specific case to specify it.

Just my $0.02

Some people prefer justified, some people prefer ragged right, and who are you to override their device settings just because you prefer it?

Set it in your own device settings and leave the default unspecified.
Not all devices give you a choice. Not all programs give you a choice. Not all programs default to justify. Some default to left justify. I don't know what Kindle's default to, but they do not allow changing the justification. Sony Readers do not have that option (I forget what the default is). So many people might end up with left justify and I do think more people would prefer full ten left.
JSWolf is offline   Reply With Quote
Old 03-03-2015, 05:52 AM   #63
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,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Most of the time I put in 'font-family: serif;'. When reading, I like serif much better than sans-serif for normal reading. And, the reader can still choose a font if they want another.
Toxaris is offline   Reply With Quote
Old 03-03-2015, 05:57 AM   #64
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
The Kindle default is justified. As a result, we sometimes see a Look Inside sample on the Amazon store that is ragged right while the downloaded version turns out to be justified. This is presumably a result of not specifying text-align=justified in the style sheet. (Look Inside follows its own rules in several respects.)
Notjohn is offline   Reply With Quote
Old 03-03-2015, 04:44 PM   #65
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
I dont know and he is on the road for his work.
saguay is offline   Reply With Quote
Old 03-03-2015, 04:47 PM   #66
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Thank you
saguay is offline   Reply With Quote
Old 03-04-2015, 07:51 PM   #67
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
If you included this in the body:

body {
oeb-column-number: 1;
widows: 1;
orphans: 1;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}

What happenned to the h1,2,3... They justified ?
saguay is offline   Reply With Quote
Old 03-04-2015, 07:52 PM   #68
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
And what is the meanning of :

widows: 1;
orphans: 1;
saguay is offline   Reply With Quote
Old 03-04-2015, 08:38 PM   #69
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by saguay View Post
If you included this in the body:

body {
oeb-column-number: 1;
widows: 1;
orphans: 1;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}

What happenned to the h1,2,3... They justified ?
They would be if they are longer than a single line unless there was a CSS entry specific to h1,2,3. Headings are often shorter than a line and they would be left justified just like the last line of a paragraph.

widows and orphans entry sets the number of lines that must be on a page together when a paragraph is split near the end of a page. The ADE default is typically 2 so setting this to 1 will allow a single line in a paragraph to appear at the bottom of the page and also at the top of the next page (basically it turns off widow and orphan control).

Dale

Last edited by DaleDe; 03-04-2015 at 08:41 PM.
DaleDe is offline   Reply With Quote
Old 03-04-2015, 09:27 PM   #70
saguay
Enthusiast
saguay began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Device: SIGIL
Thank you. And what will happend to :

<p class="break">* * *</p>
saguay is offline   Reply With Quote
Old 03-05-2015, 12:18 AM   #71
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Just my unprofessional opinion, but I still think that paragraph justification should be left out of the CSS and let the device or reading program handle justification.
DoctorOhh is offline   Reply With Quote
Old 03-05-2015, 01:13 AM   #72
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by saguay View Post
Thank you. And what will happend to :

<p class="break">* * *</p>
It depends on what the CSS for break does. I would assume you will have a center in that CSS to override the default set up in body.

Dale
DaleDe is offline   Reply With Quote
Old 03-05-2015, 01:18 AM   #73
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by DoctorOhh View Post
Just my unprofessional opinion, but I still think that paragraph justification should be left out of the CSS and let the device or reading program handle justification.
I prefer that myself. Normally there is a setting in the app that will do what the reader wants. For my phone I typically use left justified due to the narrowness of the screen and the increased use of hyphens when fully justified or the huge spaces between words.

The argument for making it like the book doesn't cut it when the eBook justifies based on whole spaces between words while the book was able to adjust tiny spacing between letters and small increments of space size as needed. I have yet to see an eBook reader with that kind of refinement.

Dale
DaleDe is offline   Reply With Quote
Old 03-05-2015, 07:10 AM   #74
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
The problem with not specifying justification is that on the Amazon store, such a book will have a ragged right Look Inside preview, while the downloaded book will be justified.

I went through last week's e-book best-seller lists in the Wall Street Journal and found three instances (out of twenty) where this was the case. (All twenty books were justified. To me, that's sufficient reason to specify justified alignment.)

In the past year or two I have read two ragged-right books from major publishers, one being a Daniel Silva thriller and the other being David Mamet's rant about The Secret Knowledge. Neither irritated me sufficiently to return the book (I only paid for the Mamet; the other came from the library) but I was conscious all the time that I was reading what, to me, seemed an amateurish production. Perhaps that's because I've been reading justified books for more than seventy years, and I expect e-books to be as professionally done.

By contrast, the occasional short line (more typical in Kindle editions than widely spaced words) doesn't bother me at all.

(And yes, I often read books on my iPhone 4 held horizontally.)
Notjohn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A SIMPLE SOLUTION TO AMERICA'S WEIGHT PROBLEM: Banish Belly and Lose Weight in 5 DrDln Self-Promotions by Authors and Publishers 0 05-20-2011 12:29 AM
PRS-650 Weight of covers StanByk Sony Reader 7 09-29-2010 02:16 PM
Overdrive throwing weight behind epub tech_au News 27 02-28-2009 03:12 PM
WEIGHT pbananth Which one should I buy? 20 04-04-2008 01:31 PM


All times are GMT -4. The time now is 11:38 AM.


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