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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2012, 02:40 AM   #1
kamanza
Zealot
kamanza began at the beginning.
 
Posts: 115
Karma: 10
Join Date: Jan 2011
Device: none
TOC color in MOBI

Editing a book in Sigil, i've built an inline TOC with color specified as "black" in the stylesheet.
It looks black both in ADE & CoolReader.
When i convert the book to MOBI in Calibre (Do not add TOC option is checked), TOC becomes blue in Mobipocket reader.
I've tried to convert MOBI to MOBI replacing "color="blue" with "color="black" in
S&R, but it still came out blue & 'color' attribute disappeared from the code view.

Is it possible to make it remain black? Or any other color? This may be petty, but i really hate the blue color in a book.

I would be very thankful for any help.
kamanza is offline   Reply With Quote
Old 02-09-2012, 11:16 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,956
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kamanza View Post
Editing a book in Sigil, i've built an inline TOC with color specified as "black" in the stylesheet.
It looks black both in ADE & CoolReader.
When i convert the book to MOBI in Calibre (Do not add TOC option is checked), TOC becomes blue in Mobipocket reader.
I've tried to convert MOBI to MOBI replacing "color="blue" with "color="black" in
S&R, but it still came out blue & 'color' attribute disappeared from the code view.

Is it possible to make it remain black? Or any other color? This may be petty, but i really hate the blue color in a book.

I would be very thankful for any help.
Blue is a default HTML color for links. Mobi is (older)HTML based.
you probably want to add to the body style:
link=black, vlink=black
The first before visiting, the later is has been visited
theducks is offline   Reply With Quote
Advert
Old 02-09-2012, 04:31 PM   #3
kamanza
Zealot
kamanza began at the beginning.
 
Posts: 115
Karma: 10
Join Date: Jan 2011
Device: none
Quote:
Blue is a default HTML color for links. Mobi is (older)HTML based.
you probably want to add to the body style:
link=black, vlink=black
The first before visiting, the later is has been visited
Sorry, but i didn't quite get it.
Do i add it to the 'body' tag? Or to the head section?
My links are written with 'a' tag:


Quote:
<p class="calibre2"> &nbsp; &nbsp; &nbsp; <a class="sgc-1" href="../Text/Section0003.xhtml">Introduction</a></p>
Could you please elaborate?
kamanza is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No TOC in mobi Fabe Sigil 4 01-28-2012 04:00 AM
TOC voes for the Color Nook Ferrari328 Nook Color & Nook Tablet 2 03-28-2011 04:17 PM
TOC voes for the Color Nook Ferrari328 Conversion 3 03-28-2011 02:34 PM
ePub TOC to mobi TOC edmnddntes Conversion 5 01-24-2011 02:56 AM
mobi toc help needed LITTLE L Introduce Yourself 7 09-29-2010 07:34 PM


All times are GMT -4. The time now is 01:47 PM.


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