Thread: Touch Kobo Touch Firmware 2.0
View Single Post
Old 07-16-2012, 05:41 PM   #460
mapline
Enthusiast
mapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the endmapline knows the complete value of PI to the end
 
Posts: 44
Karma: 31594
Join Date: Jul 2012
Location: Essex,UK
Device: Kobo Touch
Hi Danger
Exploded book with tweak in calibre.
Resized cover with PSE saved

Opened titlepage.xhtml.:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<meta content="true" name="calibre:cover">
<title>Cover</title>
<style title="override_css" type="text/css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<div> <svg preserveAspectRatio="none"
viewBox="0 0 452 686" height="100%" width="100%"
version="1.1" xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"> <image
href="cover.jpeg" height="686" width="452"> </svg>
</div>
</body>
</html>
If I change code of body to :
<body style="margin: 0px; text-align: center;">
<div><img alt="" src="../Images/cover.jpg" /></div>
</body>
and then rebuild the cover does not show.
Can you tell me the mistake I am making?
Thanks
Michael
mapline is offline   Reply With Quote