View Single Post
Old 08-31-2013, 06:28 PM   #58
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by franklekens View Post
In the conversion dialogue of Calibre, there's also an option to "remove spacing between paragraphs". Do you happen to know if there's an easy css line that can be added to achieve the same? I really dislike extra spacing between paragraphs (other than intended blank lines between sections of text). Right now converting a book is the only way for me to remedy that.
Nothing that is likely to work for all epubs. Paragraph margins are too 'low' down the book structure levels for generic css to work well. If the space between paragraphs has been created by adding 'empty paragraphs' (e.g. <p>&nbsp;</p>) then no amount of css-tweaking can get rid of them.

You could try adding
Code:
body, div, p {margin-top:0; margin-bottom:0}
It may be effective on a few epubs but unlikely on any epub which has been through a calibre conversion. On the other hand, it probably won't do much harm either
jackie_w is offline   Reply With Quote