PDA

View Full Version : Link color issue


b-grinner
Nov-29-2006, 10:42 AM
Hi,

I have following code in my css file.

a:link, /* access all the links on your smugmug site */
.nav a:link,
.albumTitle a:link,
#homepage a:link {
color:orange;
text-decoration:none;
}

a:visited,
.nav a:visited,
.albumTitle a:visited,
#homepage a:visited {
color:orange
text-decoration:none;
}

a:hover,
.nav a:hover,
#homepage a:hover,
.albumTitle a:hover {
color:orange;
text-decoration:underline; /* underline them */
}

a:active, /* select all the link active states – when the mouse button is down */
.nav a:active,
.albumTitle a:active,
#homepage a:active {
color:orange;
text-decoration:underline; /* underline them */
}

I have some text in an 'About' page and have inserted a link to my Guestbook page. Given the code above how come the link I have put in to my About page text will not display correctly. I want it to display as the color orange with no underline. However, it is not doing this.

I am also noticing that when I go to page which lists all my galleries some of them do not follow what I have defined above and some do.

My site is http://cyberphotogs.smugmug.com

Thanks and I look forward to your reply.

...B

richW
Nov-29-2006, 04:48 PM
a:visited,
.nav a:visited,
.albumTitle a:visited,
#homepage a:visited {
color:orange;
text-decoration:none;
} You are missing a ; in the above code.

b-grinner
Nov-29-2006, 05:42 PM
You are missing a ; in the above code.

Thanks so much Rich. Sometimes another pair of eyes is all that it takes. :clap

b:D

richW
Nov-29-2006, 06:14 PM
Thanks so much Rich. Sometimes another pair of eyes is all that it takes. :clap

b:D Your welcome.:thumb