![]() |
#1 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Dec 2011
Device: Ipad
|
Font color for links through style sheet
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? |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,897
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:
a:link { color: blue; } a:visited { color: purple; } a:active { color: red; } |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Dec 2011
Device: Ipad
|
Yes that is how you would do the standard link, but was not the question. I have the above that I use, I need another set so I can use different colors that works in the epub that iBooks recognizes. It works in the Sigil program that I have used to create the book, but that is it.
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,897
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:
i-books does it a think-different way ![]() BTW you can substitute any color (even make them the same: ie black) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Print style sheet | ronaldl | Sigil | 2 | 10-29-2012 04:32 PM |
Alphabetize and clean a style sheet | roger64 | Sigil | 6 | 06-11-2012 11:47 AM |
Style Sheet editor? | GraciousMe | Sigil | 6 | 06-04-2012 03:06 PM |
An example file of your CSS style sheet | roger64 | Writer2ePub | 6 | 04-11-2012 02:59 AM |
Missing style sheet | mauvais | Barnes & Noble NOOK | 3 | 12-05-2011 06:29 PM |