View Single Post
Old 04-14-2011, 03:18 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Copycat View Post
Hi all, i have problem with cover image, iam using cs5 for epub, and ADD is allways showing white margins (top and left side) i cant remove it, when i put epub in sigil and put image from it i have same problem in ADD.. image is 600x800...


xhtml code:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>cove_page.xhtml</title>
<link href="../Styles/template.css" rel="stylesheet" type="text/css" />
</head>

<body style="">
<div id="cove-page">
<div class="generated-style"><img alt="global.png" src="../Images/global_fmt.jpeg" /></div>
</div>
</body>
</html>


is there any solution with margins?
thanks in advance
If you don't set them, device defaults prevail.
You have no body style declared

"generated-style " is an unknown
Your background color is the default white making any issue obvious
do yo want the aspect ratio distorted or maintained
IMHO testing margins on a display with a hugely different aspect ratio is questionable
theducks is offline   Reply With Quote