View Single Post
Old 05-19-2013, 02:11 PM   #470
Quexos
Member Retired
Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.Quexos ought to be getting tired of karma fortunes by now.
 
Posts: 1,999
Karma: 11348924
Join Date: Jan 2011
Location: Limbo
Device: none
Ok this is probably a little over my league. I opened the first .html file within the epub.zip then I opened that html file by adding .txt so that I can see what's inside and modify if necessary and the closest thing to what you mention which is @page goes like this:
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
If that's what defines the position of the cover, maybe I could add margin-left and margin-right values ?

Also to make it all even more confusing, I forgot to mention that on my computer the e-book cover looks normal, it's only in my Kobo reader that it's stretched.


Well because a specific css sheet is for a specific book isn't it ?
if it was all standard then all css sheets would be exactly the same.
But when you look at them they are widely different, some for instance apply text rules with the name "p", others with the name "body" etc ... When through caliber it all becomes "caliber1" "caliber 2" etc ... which is even more confusing when you try to locate a value that for instance would rule indents.
In the meantime, do I just randomly cram the new code here provided and where exactly ? Just before "@page" ? Or at the very beginning (cause there is still some weird code before that)
Quote:
Originally Posted by DNSB View Post
Why ever not? I copy and paste css all the time -- that's how I install my standard css stylesheet. As for where the image code goes, it is in the first file/chapter of the epub. The preference is to have only that code in the file. The only change needed is to match the height/width numbers to those of image used for the cover.

Last edited by Quexos; 05-19-2013 at 02:20 PM.
Quexos is offline   Reply With Quote