| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Remove underline from links in epub
			 
			
			
			Hi,  
		
	
		
		
		
		
		
		
		
		
		
		
		
			I've tried these two codes in the css override box to remove the blue hyperlink and underline but they aren't working. a {text-decoration: none; color: black;} a href {text-decoration: none; color: black;} Am I using the wrong codes? Or do I need to add the css to the epub file? I'd appreciate any and all help, Thanks! EDIT: Nevermind! I found the answer. I needed to use this code instead. a {text-decoration: none; color: black;} a [href] {text-decoration: none; color: black;} Last edited by Amalthia; 09-16-2010 at 04:53 AM. Reason: found answer  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Feb 2014 
				
				
				
				Device: Kindle for Android 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It doesn't work for me. I go to Preferences>User Stylesheet and copy your text and it still doesn't work  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() ![]() ![]()  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			with some readers you have to  completely remove the <a>.....</a> tags to stop the blue underlines from showing
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Feb 2014 
				
				
				
				Device: Kindle for Android 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			How to do that? I am not very skilled in stuff like that, but this is very annoying 
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() ![]() ![]() ![]() ![]()  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 ɴₐɴ 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421 
				Karma: 2507940 
				Join Date: Jun 2011 
				Location: 37.2N 93.3W 
				
				
				Device: KV PW4 PW3 PW2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	a:link, a:link * {
  color: #000 !important;
  text-decoration: none !important;
}
Code: 
	<a href="file1.html" class="toc"><span class="blue"><span class="underline">Acknowledgments</span></span></a> Last edited by JimmyR; 02-09-2014 at 09:16 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 On my Sony devices, anything that is in <a> tags will appear as blue underline, none of the solutions posted here will over-ride that. Other devices may behave differently but for Sony, the only fix is to strip out the <a> tags with calibre editor or Sigil, or learn to live with it.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Feb 2014 
				
				
				
				Device: Kindle for Android 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() ![]()  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| is it possible to remove ( from epub)... | cybmole | Calibre | 13 | 10-11-2010 12:57 PM | 
| Links do not appear in epub | illustrata | Calibre | 0 | 08-21-2010 02:21 PM | 
| Newsweek: how to remove timestamps after title links | kbfprivate | Calibre | 2 | 05-09-2009 03:18 AM | 
| Book Designer - Links underline just ONE word? | pitolee | Sony Reader | 21 | 12-05-2008 11:08 AM |