deback - Thank you so much for reaching out with an answer. I tried to copy and apply your suggestion. I got no errors, but, alas, it did not change the view of the in the calibre epub reader - the image still does not go to the edges.
I really appreciate the help but I am obviously not understanding something here.
I went back to jpg file and renamed it to simpler name. Here is the epub html file I created from your suggestion.
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Unknown</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<body class="cover">
@page {
margin-bottom: 0pt;
margin-left: 0px;
margin-right: 0px;
margin-top: 0pt;
padding: 0px
}
</style>
</head>
<body>
<p class="image1">
<img src="images/CC3.jpeg" alt="Image" class="image" />
</p>
</body></html>
and code appended to top of stylesheet.css:
.cover {
display: block;
text-align: center;
margin: 0 0;
}
.image {
height: 100%;
width: 100%;
}
.image1 {
display: block;
text-align: center;
margin: 0 0;
}
|