View Single Post
Old 03-15-2012, 11:25 AM   #1
Alan Newson
Member
Alan Newson began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2011
Device: iPad
iBooks ignoring a:link css style

Hi, I'm trying to give a ePub links within iBooks a custom color, but it seems they are being ignored.

I have an external style sheet with the following code:

.contact-web {
text-align: left;
font-size: 0.8em;
font-weight: bold;
margin-bottom: 0em;
-webkit-hyphens: none;
}

.contact-web a {color:#000;text-decoration:none;}
.contact-web a:visited {color:#000;text-decoration:none;}
.contact-web a:hover {color:#000;text-decoration:none;}
.contact-web a:active {color:#000;text-decoration:none;}


And the code I'm trying to link it to within my html is:

<p class="contact-web">For more information, please visit <a href="http://www.mysite.com">www.mysite.com</a></p>


Is it possible to change the color of an ePub hyperlink that works within iBooks?

Thanks
Alan Newson is offline   Reply With Quote