View Single Post
Old 10-19-2011, 01:07 AM   #10
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
Quote:
Originally Posted by jackie_w View Post
Quote:
Originally Posted by cybmole View Post
for te manual fix I'd gone thru the original CSS looking for all margin left & margin right but the text still showed as running right up to bevel.
Calibre adds the page L/R margins (as specified in Convert - PageSetup) to the css class used in the <body> tag of the text content html files.
e.g. if a typical chapter html file has <body class="calibre2"> then you need to look at this bit in the stylesheet.css file

Code:
.calibre2 {
margin-left:5pt;
margin-right:5pt;
...
}
Jackie explains it above. This info is in the <body> tag and applied to the whole document and is paragraph independent. Go to any individual html page in the ePub and see what class the body tag is and adjust that class accordingly.

Last edited by DoctorOhh; 10-19-2011 at 01:09 AM.
DoctorOhh is offline   Reply With Quote