Quote:
Originally Posted by Amalthia
Basically, yes I'm using <br > tags within the body of the html but what I still don't get is why when I convert to LRF the <br > tags work like they do on web browsers but when I convert to MOBI it adds an extra line.
|
The any2* tools are mostly for e-book
conversion, and in MSReader and Mobipocket a <br/> tag there will create a new blank line. If calibre didn't convert such <br/>s then people converting books from those formats would find that they were missing blank lines in e.g. their EPUB versions.
More abstractly, the problem is that you should never be using the <br/> tag in hand-written HTML. You should use semantic markup around anything you want to be rendered as a block-level box and use CSS to set appropriate display and margins.
For example:
Code:
<div class="lines">
<div class="line">This is on a line!</div>
<div class="line">This is on another line!</div>
</div>
Then have CSS like:
Code:
.lines { margin: 0; }
.line { margin: 0; }
The CSS2.1 spec has lots of examples.