Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-11-2011, 11:42 PM   #1
AppleTard
Member
AppleTard began at the beginning.
 
Posts: 11
Karma: 10
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?
AppleTard is offline   Reply With Quote
Old 06-12-2011, 01:07 AM   #2
AppleTard
Member
AppleTard began at the beginning.
 
Posts: 11
Karma: 10
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!!!
AppleTard is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question for the CSS experts crutledge Sigil 8 06-10-2011 05:13 PM
Question about validation and items referenced in css ldolse Sigil 9 02-02-2011 05:17 AM
stupid question about epub? (nook + css) hapax legomenon ePub 0 10-31-2010 04:35 AM
Basic CSS Font family question! kjk ePub 2 05-27-2010 02:28 PM
A question about CSS: widows and orphans Jellby ePub 5 08-31-2009 04:54 PM


All times are GMT -4. The time now is 12:49 PM.


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