Thread: Touch Cover image frustrations
View Single Post
Old 10-29-2012, 06:03 AM   #26
scoobertron
Connoisseur
scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.scoobertron ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 349476
Join Date: Jul 2012
Device: Kobo touch
Quote:
Originally Posted by RG1 View Post
You can add this code to your cover.xml or cover.html:
Code:
<style type="text/css">
/*<![CDATA[*/

  @page {padding: 0pt; margin: 0pt;}
            body.nb {padding: 0pt; margin: 0pt;}
  /*]]>*/
  </style>
It has to go in the xml or html head before the line with the closing tag </head>. Then you have to change the line with <body> to <body class="nb">
If there is a line starting with <link href="../Styles/ in the head (before </head>) then delete the complete line.
That's it.
An easier way is to copy the cover.xml from the file I attached earlier in the thread and put it in the other books. Make shure that the cover image is named cover.png and resolution is 800x600.
This works great. Thanks for helping me get this sorted.
scoobertron is offline   Reply With Quote