Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2019, 02:57 AM   #1
aschiller
Member
aschiller began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
PDF -> Mobi: Remove underline from links

Hi everybody,

I would like to remove the underline from links when converting a pdf to mobi. So far I could specify my own custom css when doing the convertion using:

Code:
a[href] { color: #000 !important; text-decoration: none !important; }
a:link { color: #000000; text-decoration: none !important;}
However, when opening the mobi file in calibre the links are black but still underlined. I discovered using the Inspector that for this underline the "user agent stylesheet" is responsible. How can I change this "user agent stylesheet" css and make that links are no longer underlined.

Best
Andy
aschiller is offline   Reply With Quote
Old 11-05-2019, 03:59 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,870
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
convert to azw3 not mobi
kovidgoyal is offline   Reply With Quote
Advert
Old 11-05-2019, 04:52 AM   #3
aschiller
Member
aschiller began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
Hi, unfortunately that is not an option, as I need to send the converted file via email to my kindle
aschiller is offline   Reply With Quote
Old 11-05-2019, 07:39 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,870
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
MOBI has no support for CSS i'm afraid.
kovidgoyal is offline   Reply With Quote
Reply

Tags
conversion from .pdf, css, link


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove underline from links in epub Amalthia Calibre 6 02-10-2014 08:41 AM
Image links without underline slicknick001 Kindle Formats 17 12-20-2013 07:16 AM
Preserver MOBI/EPUB links in PDF mistersquid Calibre 2 05-31-2010 02:41 AM
Book Designer - Links underline just ONE word? pitolee Sony Reader 21 12-05-2008 10:08 AM


All times are GMT -4. The time now is 12:43 AM.


MobileRead.com is a privately owned, operated and funded community.