Thread: Touch Cover image frustrations
View Single Post
Old 10-28-2012, 06:40 PM   #21
RG1
***
RG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with othersRG1 plays well with others
 
Posts: 24
Karma: 2716
Join Date: Oct 2012
Device: Sony PRST-2, Kobo touch
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.

Last edited by RG1; 10-28-2012 at 06:56 PM.
RG1 is offline   Reply With Quote