Hmmm - maybe the lesson to take away form this book is that the REAL reason Stephen King does not like epubs is because his publishers employ such rubbish programmers
I did look back at the previous book in this series which I have, I would not say the coding was great but it's a lot better than this one!
here's a start of chapter sample from the previous book ( this is after it's been through calibre but all that has done is renamed a few style classes )
Code:
<head>
<title>The Waste Lands</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css" />
</head>
<body class="calibre">
<p class="calibre1"><a id="c01"></a></p>
<div class="fmhT">
<b class="calibre5">I</b>
</div>
<div class="fmhT">
<b class="calibre4">BEAR AND BONE</b>
</div>
<div class="centerAligned"><img alt="003" class="imgepub" src="../Images/king_9781101158616_oeb_003_r1.jpg" /></div>
<div class="calibre2">
<a id="h1"></a>
</div>
<h1 class="h"><b class="calibre4">1</b></h1>
<div class="tx">
IT WAS HER THIRD time with live ammunition . . . and her first time on the draw from the holster Roland had rigged for her.
</div>
all nice n neat , deduct a mark for the superflous anchor tags and another for the unimaginative class names maybe!, but it's reasonably good code.
then whoever coded that gets replaced by the muppets who produced book 4 - maybe they were cheaper or something!