Quote:
If you want the image to fill the screen irrespective of aspect ration edit the html file of the cover and change
preserveAspectRatio="xmidymid meet"
to
preserveAspectRation="none"
|
I've looked both at my html cover file before and after converting it and changing the cover image in Calibre, and neither of them even have a "preserveAspectRatio." Below is the code I have from the one converted in Calbre. Could you tell me what to remove/add? What I'm doing wrong and need to change for future use? Thanks so much.
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cover</title>
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="../stylesheet1.css" type="text/css" rel="stylesheet"/><style type="text/css">
@page { margin-bottom: 0pt; margin-top: 0pt; }
@font-face {
font-family: "Adobe Caslon Pro";
font-style: normal;
font-weight: bold;
src: local(ACaslonPro-Bold)
}
@font-face {
font-family: "Adobe Caslon Pro";
font-style: normal;
font-weight: normal;
src: local(ACaslonPro-Regular)
}
@font-face {
font-family: "Calibri";
font-style: normal;
font-weight: normal;
src: local(Calibri)
}
@font-face {
font-family: "Adobe Caslon Pro";
font-style: italic;
font-weight: normal;
src: local(ACaslonPro-Italic)
}
@font-face {
font-family: "Adobe Caslon Pro";
font-style: italic;
font-weight: bold;
src: local(ACaslonPro-BoldItalic)
}
</style></head>
<body class="calibre">
<div id="cover" class="calibre1">
<div class="calibre1">
<img src="images/How%20To%20Change%20Your%20Lif_fmt.jpeg" alt="How To Change Your Life.jpg" class="calibre2"/>
</div>
</div>
</body>
</html>