Forum Moderators: not2easy

Message Too Old, No Replies

CSS link color problem

CSS link color problem

         

fynite

12:05 am on Apr 22, 2003 (gmt 0)

10+ Year Member



I am fairly new to CSS, and I've come across a problem that is probably pretty simple to solve, but I was unable to find an answer in any of the other posts.

I cannot get my links to change to the color I've specified below. It always defaults to the normal blue. It seems like I've tried everything. Any sugguestions? Thanks.

a:link {
color: #26629E1;
text-decoration: underline;
}
a:visited {
color: #3D87D1;
text-decoration: underline;
}
a:hover {
color: #3D87D1;
text-decoration: none;
}
a:active {
color: #3D87D1;
text-decoration: underline;
}

Birdman

1:18 am on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think your color codes may need adjustment.

Added: The first color looks like it has one too many characters.

grahamstewart

1:32 am on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You have too many numbers in your first property
color:#26629E1

You can only specify a six digit colour.

Edit: Doh, Birdman beat me to it.

fynite

1:36 am on Apr 22, 2003 (gmt 0)

10+ Year Member



Wow do I feel stupid. All that time and I skipped over something that simple. Sure enough it works now. Thanks for help.

Birdman

1:50 am on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World and remember: EVERYONE WILL REMEMBER YOUR FIRST POST! :) Kidding ;)