![]() |
#1 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
CSS to indent paragraphs and remove spaces
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! |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,274
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
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 |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,274
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#5 |
temp. out of service
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,795
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
+1 to duckies
Help can only be given when the problem is known. To present it in sufficient details is the duty of the help-seeking one. You gave a relative description of where your troubles lie, witholding all data needed to fix. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
^^^^
![]() |
![]() |
![]() |
![]() |
#7 | |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Many thanks Notjohn. That's very helpful.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing indent for individual paragraphs | Alda | ePub | 3 | 07-15-2013 11:42 AM |
HTML- Paragraph indent w/ no spaces? Help please? | Joseph Picard | Workshop | 36 | 07-20-2012 12:35 PM |
WTB: Ability to change indent without ticking 'remove spaces between lines' | gweminence | Calibre | 9 | 08-27-2011 09:05 AM |
Paragraphs and indent | mrmikel | Calibre | 33 | 01-10-2009 05:37 PM |
Plucker: Can I indent paragraphs? | alexdouglas | Reading and Management | 3 | 08-07-2006 05:58 PM |