| 
			
			 | 
		#1 | |
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Overriding style sheet for one paragraph
			 
			
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have my stylesheet set so that each paragraph of my book is indented, but I want a handful of paragraphs NOT to be that way. I've tried going into the code and adding this tag to the paragraphs in question Quote: 
	
 Can anyone help? Thanks!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250 
				Karma: 1702156 
				Join Date: Nov 2010 
				
				
				
				Device: Kindle Voyage 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It sounds as if you have already created an "indented" style in your stylesheet. Create a non-indented style in the spreadsheet and use that style for non-indented paragraphs. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Perhaps a sample of your CSS and HTML code would help us analyze the problem.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 A curiosus lector! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 463 
				Karma: 2015140 
				Join Date: Jun 2012 
				
				
				
				Device: Sony PRS-T1, Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Alda, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	If you want to use a stylesheet, you can do: <p class="noindent">text here</p> in your (x)html file. (Don't forget to link your CSS). In the CSS: Code: 
	.noindent {
   text-indent: 0;
}
<p style="text-indent: 0";> But the use of a CSS file is better IMO.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks, all, for your responses. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I used Arios's solution and it worked like a charm.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@Alda; I'd suggest taking a look at Pablo's tutorial on creating ePubs. See EPub Tutorial. There has been discussion of it here.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks PeterT, I was thinking about that very tutorial yesterday - I couldn't remember where to find it. So thanks for the link!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You're welcome!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 mostly an observer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519 
				Karma: 996810 
				Join Date: Dec 2012 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Here's my first-para style: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	p.first { margin-top:0.5em; margin-bottom: 0.0em; text-indent:0.0em; text-align:justify; } You can copy my entire style sheet from http://notjohnkdp.blogspot.com/ Note that you call that style by beginning the para <p class="first"> My invariable resource is Google. I'll bet if you Google "CSS for first paragraph," you'll get heaps of information.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 A curiosus lector! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 463 
				Karma: 2015140 
				Join Date: Jun 2012 
				
				
				
				Device: Sony PRS-T1, Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Alda, PeterT's recommendation is very relevant. Pablo tutorial is excellent and there is an epub version you can examine to see how it works. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	To parody someone else, computer coding is too important to be left in the hands of software coders (  .And as says an old African proverb: give a man a fish and you feed him for a day, but in teaching him to fish, you feed him all his life.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| How do I repace a Style Sheet? | phossler | Editor | 13 | 12-24-2013 12:43 PM | 
| Print style sheet | ronaldl | Sigil | 2 | 10-29-2012 05:32 PM | 
| Style Sheet editor? | GraciousMe | Sigil | 6 | 06-04-2012 04:06 PM | 
| An example file of your CSS style sheet | roger64 | Writer2ePub | 6 | 04-11-2012 03:59 AM | 
| Missing style sheet | mauvais | Barnes & Noble NOOK | 3 | 12-05-2011 07:29 PM |