Quote:
Originally Posted by deback
I have the file in Calibre 3.48 (the version should not matter at all). I changed the codes to be what I told you to do above. Now I'm seeing full-screen images in both pages using Adobe Digital Editions 1.7. I'm certain I would see the same full-screen images using ADE 2.0 and the most recent version 4.?.
Here is the full HTML for each page, after I revised both.
Page 1:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>part0001</title>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre-cover">
<p class="image1">
<img alt="Image" src="cover.jpeg" class="calibre3a"/>
</p>
</body>
</html>
Page 2:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>part0002</title>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre-cover">
<p class="image1">
<img alt="Image" src="image_rsrc2GE.jpg" class="calibre3a"/>
</p>
</body>
</html>
I never saw any line at the bottom of either image...not when I first opened the file or after I revised the file. If you're still seeing a line at the bottom of either image, then that would have something to do with your e-reader software.
Here are the classes that I added to your stylesheet.css:
.calibre3a {
height: 100%;
width: 100%;
}
.calibre-cover {
display: block;
padding-left: 0;
padding-right: 0;
text-align: center;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
}
.image1 {
display: block;
text-align: center;
padding: 0;
margin: 0 0;
}
Copy and paste each page above over everything in each page in the Calibre editor. Then copy and paste the three classes (listed above) to your stylesheet.css file. Then highlight both HTML files at the left in Calibre and right-click. Click on Link Stylesheets and then click on OK.
If it still doesn't look right to you, let me know, and I'll find out how to attach the revised file to a message here. I've never attached a file here, so I'm not sure how to do that at the moment.
|
I still get the white Here I have the video of what I mean to give you the better understanding of what I mean (sorry for the shuttering and the accent)