Proper and universal CSS code for Calibre
When converting from PDF to EPUB the book comes fine except the contents which is spread along the many pages. How can I fix it?
My current code is as below:
body {
color: rgb(0,0,0);
background-color:rgb(255,255,255);
text-align:justify;
line-spacing:1.8;
margin-top:0px;
margin-bottom:4px;
margin-right:50px;
margin-left:50px;
text-indent:2em;
}
h1, h2, h3, h4, h5, h6 {
color:white;
text-align:center;
font-style:italic;
font-weight:bold;
}
Under Filter Style Information I have selected all options except Floats and I also added to Other CSS Properties: line-height
can you help me to have a perfect CSS coding so every converted book will come up well? I don't know programming so I rely on brains like you guys but I need common instruction to understand. The best would be copy/paste what is necessary.
thanks
namaste
Mariusz
|