Page 1 of 1

How do I to set color for an active link?

Posted: Thu May 28, 2015 9:57 pm
by Caroline Dahllof

I have link and I want to set a different color when the link is active. Could you please let me know how do I go about doing this.

Thanks!

caro


How do I to set color for an active link?

Posted: Fri May 29, 2015 2:04 am
by M&M

Assuming you are using the HTML component with the links, you can simply use CSS to indicate the colors for the link. For example in your internal CSS (the CSS that you put in the code<HEAD>/code tag), you can simply put these and change the colors to whatever you'd need

code
/* unvisited link */
a:link {
color: #FF0000;
}

/* visited link */
a:visited {
color: #00FF00;
}

/* mouse over link */
a:hover {
color: #FF00FF;
}

/* selected link */
a:active {
color: #0000FF;
}
/code
Cheers,
M&M


How do I to set color for an active link?

Posted: Fri May 29, 2015 6:37 pm
by Caroline Dahllof

I have done that and in appery I can see the colors change. But when I test the app in the browser or on my iPhone the colors do not change.