View Single Post
Old 03-14-2019, 11:04 PM   #17
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
I don't think that is exactly the code; it's invalid as it stands.
You could have <span style="color: blue"> or <span style="color: black">

Anyway, the default is black, so remove the opening "<span text="whatever">" and the matching "</span>" at the end and it should be just black.

What was happening, I think, was that they wanted to format the footnote link number blue (unnecessary to do it this way as that is the default, but it's probably automatically generated by some dumb program), and didn't notice that it made the following text blue as well; it might look OK on a colour screen. Careless coding.

I don't use Calibre editor much, but it might be difficult to remove all of those open/close spans at once, (deleting all </span> in the file would mess up other spans) but you can neuter them by replacing all the "blue" <span text="whatever"> by just <span>.
The default isn't black for links--which is what the footnote superscripts are.


Hitch
Hitch is offline   Reply With Quote