View Single Post
Old 06-07-2018, 09:30 AM   #1
Wlan
Enthusiast
Wlan began at the beginning.
 
Wlan's Avatar
 
Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
How to remove cover border for Google Books(Epub)

Hello!

I am new to Epub.

When I upload a Epub to Google Books it automatically create a border for all pages including the cover.

Is it possible to remove the border only for the cover? Here is my cover file:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="pt-BR" lang="pt-BR">
<head>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 1375 2200" preserveAspectRatio="xMidYMid meet">
<image width="1375" height="2200" xlink:href="cover.jpg"/>
</svg>
</div>
</body>
</html>

Even if I set the preserveAspectRatio="none" I get the same result.

Thank you!
Wlan is offline   Reply With Quote