View Single Post
Old 11-07-2012, 01:12 PM   #2
theducks
Grand Sorcerer
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: 15,086
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Gerlyn View Post
I want to have different colors for links in my document. Due to background colors, the default blue is not readable all the time. I have an ID class in the style sheet to give me a new set of link styles and it works as expected in Sigil, but does not work in iBooks when tested. I have used the code !important in the style sheet which has always worked with other styles, but still ignores it.

My second question is I have created anchor links in the document. The actual anchor I have created changes to a font color of blue when viewed in iBooks. This confuses people who think its a link. What do I put in the style sheet to override that?
This is really a HTML question.


a:link {
color: blue;
}

a:visited {
color: purple;
}

a:active {
color: red;
}
theducks is offline   Reply With Quote