View Single Post
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