Thread: ePUB weight
View Single Post
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