06-11-2011, 10:42 PM | #1 |
Member
Posts: 24
Karma: 1839286
Join Date: Nov 2010
Device: iPad
|
CSS Question
Hi,
When I converted my HTML files to epub, for use with iBooks, I'd a problem: All chapter titles which are in the TOC are blue. I tried to fix the problem using Calibre "Extra CSS" option, but apparently it cannot override hyperlink colours (I tried the a:link {color:black} tag, but it didn't work). However, if I open the output ePub on Sigil and edit the css by hand, I can force the color:black attribute on all calibre-generated classes, therefore fixing the problem. So I've added the following tags to the "Extra CSS": .calibre1 {color: black}... .calibre10 {color:black}. This actually works, if I convert from HTML to ePub and then from ePub to ePub. My question is: Is there a way to output the all the calibre classes with the {color: black} tag on the first conversion. Or will I be forced to make two conversions in order to put it there? |
06-12-2011, 12:07 AM | #2 |
Member
Posts: 24
Karma: 1839286
Join Date: Nov 2010
Device: iPad
|
Well, never mind. This only worked for one book... the next one I tried still shows the chapter title in blue. This is maddening!!!
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question for the CSS experts | crutledge | Sigil | 8 | 06-10-2011 04:13 PM |
Question about validation and items referenced in css | ldolse | Sigil | 9 | 02-02-2011 04:17 AM |
stupid question about epub? (nook + css) | hapax legomenon | ePub | 0 | 10-31-2010 03:35 AM |
Basic CSS Font family question! | kjk | ePub | 2 | 05-27-2010 01:28 PM |
A question about CSS: widows and orphans | Jellby | ePub | 5 | 08-31-2009 03:54 PM |