Quote:
Originally Posted by Arkadian
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
<head>
<title>Sconosciuto</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"/>
</head>
<body class="calibre">
<h2 class="block_" id="toc_id_1">Headline goes here</h2>
<ol class="list_">
<li class="block_1">yadda yadda yadda</li>
</ol>
</body></html>
|
Just speculating but I think your problem arises because of the <ol>.
Possibly your renderer is trying to put <h2> and
THE WHOLE <ol> in the same page. It is maybe impossible and then it just splits after <h2>...
If the start numbering of the <ol> lists can be altered (I've never used this tag) you could try something like that:
Code:
<h2 class="do_not_break_after_me">Your Title</h2>
<ol class="just_the_first_item">
<li>First item</li>
</ol>
<ol class="continue_numbering_with_whichever_trick">
<li>Whatever goes after it.</li>
...
</ol>