10-31-2010, 03:06 PM
|
#4
|
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2007
Device: iPad, iPhone, Kindle 1
|
Samples; thanks, it’s a bug.
Quote:
Originally Posted by jackie_w
I think it might help if you posted a bit of the source HTML…
Also, if the [ePub?] HTML looks like
Code:
<dd class="xyz">...</dd>
then post any parts of the CSS like
Code:
.xyz {...} or dd.xyz {...}
|
Thanks; once I looked at the ePub converted HTML, it became clear that it was simply a Calibre bug, which I’ll file:
Source HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Genesis A, B</title>
</head>
<body>
<h1>Genesis A, B</h1>
<p><cite>Verse Indeterminate Unknown</cite></p>
<dl compact>
<dt></dt>
<dd>
Us is riht micel ðæt we rodera weard, <br>
wereda wuldorcining, wordum herigen, <br>
modum lufien! He is mægna sped, <br>
heafod ealra heahgesceafta, <br>
</dd>
ePub XHTML:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Genesis A, B</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: 5.000000pt; margin-top: 5.000000pt; }</style></head>
<body class="calibre">
<h1 class="calibre1" id="calibre_pb_0">Genesis A, B</h1>
<p class="calibre5"><cite class="calibre6">Verse Indeterminate Unknown</cite></p>
<dl compact="compact" class="calibre11"><dt class="calibre7"/>
<dd class="calibre12">
Us is riht micel **** ðæt we rodera weard, <br class="calibre7"/>
wereda wuldorcining, **** wordum herigen, <br class="calibre7"/>
modum lufien! **** He is mægna sped, <br class="calibre7"/>
heafod ealra **** heahgesceafta, <br class="calibre7"/></dd>
ePub CSS:
.calibre12 {
display: block;
font-family: "Times New Roman, Times";
margin-bottom: 0;
margin-left: 40px;
margin-right: 0;
margin-top: 0;
text-indent: 0
}
|
|
|