| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: kindle Paperwhite 2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				rare case of "left align" not working - help please
			 
			
			
			Concerns: F-Secure Weblog.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	For better readabilty on my kindle paperwhite I modified every calibre news recipe I am using by inserting the extra_css = 'body { text-align: left; }' command. Until now that has worked nicely to get rid of text being formatted as justified. Now I put the same into the F-Secure Weblog recipe but the result is still "justified". The recipe as such is rather simple. The problem with noncompliance of my wish may have to do with the fact that a "justify" instruction is in the original html. But I read in calibre help that "extra_css" should override most anything. So I am stuck here and ask for your help. ( I include these search keywords for Deutsche and Dutch: linksbündig blocksatz gerechtvaardigd uitlijnen uitgelijnd rechtvaardiging )  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			extra_css = 'body, p, div { text-align: left !important }' 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Or more robustly conversion_options = { 'change_justification': 'left' }  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: kindle Paperwhite 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry to say, I tried both your suggestions, but they had no influence on the outcome?!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: kindle Paperwhite 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			To further specify. I put  extra_css = 'p { text-align: left}' into the recipe 
		
	
		
		
		
		
		
		
		
		
		
		
	
	f_securecustom.recipe I used the command line ebook-convert f_securecustom.recipe .mobi --test -vv --debug-pipeline debug The job is done. I opened: ...\debug\structure\feed_0\article_0\index.html Now, in the code of : the file I find: ... <p align="justify"> maybe that is the reason. But still I do not know how to proceed?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			remove_attributes = ['align']
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: kindle Paperwhite 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			remove_attributes = ['align'] , that did the job. Thank you.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| In case you want to turn off "Time left in book" function... | DmitryZzz | Amazon Kindle | 15 | 03-09-2019 12:13 PM | 
| "Doghouse Diaries" and "PHD Comics" not working | frakman1 | Recipes | 0 | 08-22-2014 12:32 PM | 
| timefmt, align="center", find replace | Kirk Vomit | Recipes | 0 | 04-11-2012 06:03 AM | 
| epub "padding left" to mobi "block quote" conversion issue | 1611mac | Conversion | 3 | 01-11-2012 03:10 PM | 
| align="right" problem converting html to lrf | flowoeB | Calibre | 0 | 10-06-2009 08:30 AM |