| 
			
			 | 
		#1 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129 
				Karma: 5754 
				Join Date: Jan 2012 
				Location: South Africa 
				
				
				Device: Kindle 4 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Kindle: Paragraph spacing
			 
			
			
			I can take 2 books, use Edit book, give them the same values for each parameter in the stylesheet, in the preview pane there is no open lines between paragraphs with both books, and yet on my Kindle one of them has an open line between paragraphs and the other doesn't. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Does anybody know anything about this, or do you need more info?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 206 
				Karma: 547516 
				Join Date: Mar 2008 
				Location: Berlin, Germany 
				
				
				Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Open the book with the line between the paragraphs in the editor.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Then make sure that the live css tool is visible. Put the cursor on a < p > tag and take a look at the 'computed final style' for the paragraph in the live css. If there are entries for 'margin-top' or 'margin-bottom' with value other than '0', then that produces the empty lines. You can then go through the displayed styling information in the live css an follow the link to the css part where the margin is set and change it. If the margin is already set to '0', there are probably some empty paragraphs or line breaks (< br >) in the html code that you have to remove. I hope this helps.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129 
				Karma: 5754 
				Join Date: Jan 2012 
				Location: South Africa 
				
				
				Device: Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No breaks between paragraphs in thr html file. The preview pane in the editor shows no spacing between paragraphs. E-Book Viewer shows no gaps between paragraphs Live CSS shows all 4 margins 0. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The only place where there are gaps between paragraphs is on my Kindle. But this is not true of all books. Just this one. This is from a non-problem book: Code: 
	<body class="calibre"> <p class="calibre5">Mr Grope had a large, harmless face ... a piece to one spot. </p> <p class="calibre5">When he smiled, which ... and emaciated cats. </p> Code: 
	<body class="calibre"> <p class="calibre4">“We could drive up there ... stupendous views. You <i>must</i> see it.”</p> <p class="calibre4">Harry had felt no such obligation, ... breathtaking. Nevertheless, he had raised no objection.</p> Code: 
	.calibre {
  display: block;
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre5 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
Code: 
	.calibre {
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0 0 0;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.calibre4 {
  display: block;
  text-indent: 5%;
  margin: 0 0 0 0;
}
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Bookaholic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,391 
				Karma: 54969924 
				Join Date: Oct 2007 
				Location: Minnesota 
				
				
				Device: iPad Mini 4, AuraHD, iPhone XR + 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Do the books happen to have started out as ePub's? If so sometimes commercial ePub's have a "page-template.xpgt" file that needs to be edited as well.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			A couple of suggestions, drop the line-height of 1.2em. It's not needed as AZW3 has a line height already set that you cannot make any smaller. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Also, 5% is way too large for text indent. The larger the screen, the bigger the margin. Try a 1.2em. It's what I use and it's what Simon & Schuster has switched to in their eBooks.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129 
				Karma: 5754 
				Join Date: Jan 2012 
				Location: South Africa 
				
				
				Device: Kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Unfortunately no such file. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	And thanks for the other tips.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Paragraph Spacing changes from 'word' | Johneltin | Sigil | 18 | 07-19-2013 08:35 AM | 
| Paragraph Spacing changes from 'word' | Johneltin | General Discussions | 3 | 07-16-2013 07:58 AM | 
| Paragraph spacing | Banks | ePub | 2 | 08-09-2012 06:24 PM | 
| Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 01:43 AM | 
| Paragraph spacing | jhempel24 | Calibre | 5 | 08-24-2010 01:14 AM |