View Single Post
Old 06-19-2014, 07:59 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,109
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Alda View Post
Hi,

I had formatted my book in Word to upload to Kindle, but it wasn't doing what I had hoped so I ran it through word2cleanhtml. With that, however, all the work I did on paragraph indents etc. has disappeared and I get block paragraphs with no indents and an extra space between them.

Can anyone give me the CSS styling to remove spaces between paragraphs and to indent the first line in a paragraph. (If there's something to NOT indent the first paragraph after a heading then that would be perfect.)

Thank you!
Gee! My crystal ball is broken and I can't see your existing CSS nor the classes used in the offending Paragraphs.


p { margin: 0 0 0 0; Text-indent: 1.2em; }
might work if you have no class= for the P tag
or you could have a div tag

h1 + p{ margin: 1em 0 0 0; text-indent: 0; }
Again xtal ball failure is your header a H1

Last edited by theducks; 06-19-2014 at 08:00 PM. Reason: flip H1
theducks is online now   Reply With Quote