Quote:
Originally Posted by theducks
Is there some stray <p> </p> or similar between the <body> and the first <h#> ? (or <div> or <br /> )
That just isn't right 
|
does a stray, empty div tag pair add white space above the header, then ?
i see stuff like
Code:
<body class="calibre">
<div class="calibre2" id="ch05">
<div class="calibre2">
<h2 class="halfTitlePageTitle" id="heading_id_2"><span>5</span></h2>
( where calibre 2 is defined as {block} in the stylesheet
but had not thought to remove the div bits
a) 'cos I wasn't sure what they were doing
b) 'cos then contained no text or whitespace & thus I rashly? adjudged them to be harmless ?
what also confused the issue for me, is that code like the above displays well in calibre mobi viewer yet seems to have more whitespace when it is actually on my Kindle
often, also, there is stuff in those div lines that changes each time , so each book needs its own find+ replace construct to remove them