![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
Overridng link colour with extra CSS
Hi all.
I'm trying to override the default link colour (from blue to black) with an external CSS, but it doesn't work. I've tried these and other variations: a {color:black} a:link {color:black} .calibre10 {color:black} // this is class label for links in the HTML. I've also tried using external stylesheets from the command line, and adding the CSS text into the text field. Note that other overrides, such as body {background-color:yellow} works fine. Any ideas? I'm coverting from HTML to epub. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,159
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC overriding link colors is not going to work. This is because of a workaround to support broken rendering of links in some readers.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
It worked fine after a subsequent epub-to-epub conversion. Is that expected?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Justification problem even with extra css | hiperlink | Recipes | 2 | 03-09-2011 08:40 AM |
Adding new chapter, what about CSS link? | spaze | Sigil | 3 | 02-24-2011 05:35 AM |
The option "--extra-css" doesn't work | slex | Conversion | 2 | 02-19-2011 06:26 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |
a few extra css questions | marbs | Recipes | 12 | 11-20-2010 10:15 AM |