Thread: EPUB output
View Single Post
Old 10-31-2009, 01:07 PM   #552
Comedy of Errors
Junior Member
Comedy of Errors began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Cool-er
Quote:
Originally Posted by kovidgoyal View Post
Unselect that option and use the following in extra css

p { margin: 0pt; border:0pt }
Thanks for the suggestion but try as I might I can't get it to work. Doing as you suggested meant I lost the paragraph indenting which Calibre otherwise provided. As I did not want absolutely everything indented anyway I moved the instructions into the HTML instead like this:

P {margin: 0pt; border:0pt; text-indent: 1.5em;}
P.noindent {margin: 0pt; border:0pt;text-indent: 0em;}

In HTML it now displays perfectly. For the few paragraphs I don't want indenting I now just specify <p class=noindent>

Unfortunately Calibre seems to take no notice of the above. I tick no options and yet spaces apear betwen the paragraphs and all indenting is removed.

As you may have gathered I am a novice at both HTML and EPUB so it is probably me doing something daft. Any suggestions would be appeciated.
Comedy of Errors is offline   Reply With Quote