View Single Post
Old 10-09-2019, 02:42 PM   #3
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: 80,034
Karma: 147977995
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 Imperative View Post
Hello guys, I’ve got in real trouble while using a very primitive CSS in viewer:
Code:
body {
color: rgb(0,0,0)  !important;
background-color: rgb(228,226,224) !important;
line-height: 1 !important;
text-indent: 2em !important;
text-align: justify !important;
margin-top: 0px !important;
margin-bottom: 4px  !important;
margin-right: 10px !important;
margin-left: 50px !important;
font-family: Bookman Old Style !important;
font-size: 19px !important;
}
On the screenshot below you may see the problem with left margin.
Attachment 174088

The lines related to the right and the bottom margins, as well as to text indent, make no difference to the book view. I’ve been trying to resolve this problem for a couple of days already and I haven’t found any similar problem through the web, so I am setting all my hopes for your help guys!
I've just tested this CSS code on Calibre 4.1's viewer and I did not have the same problem as shown. If you are not running Calibre 4.1, I suggest you update.
JSWolf is offline   Reply With Quote