Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: My links  (Read 3792 times)
« on: August 09, 2005, 01:16:29 PM »
Tenshi Offline
Newbie

View Profile
*
Posts: 5



Hi, I can't work out why my CCS links won't work. I read the other topic similar to this, and I tried all the advice given, but it still didn't help. For some reason, all the links I haven't clicked on come up blue and underlined. Here is my coding for my links:

Code:
A:link{
text-decoration: none;
color: pink;
}

A:visited{
text-decoration: none;
color: ffcccc;
}

A:active{
text-decoration: none;
color: ffccff;
}

A:hover{
text-decoration: none;
color: cc6699;
}

Any help will be grately appreicated! grin
Report to moderator   Logged

 
« Reply #1 on: August 15, 2005, 11:41:57 PM »
adragons
Guest

You need the '#' infront of hexadecimal values
A:link{
text-decoration: none;
color: pink;
}
A:visited{
text-decoration: none;
color: #ffcccc;
}
A:hover{
text-decoration: none;
color: #cc6699;
}
A:active{
text-decoration: none;
color: #ffccff;
}
Report to moderator   Logged
« Reply #2 on: August 16, 2005, 02:09:46 PM »
Tenshi Offline
Newbie

View Profile
*
Posts: 5



Nope, sorry, it didn't work. The unvisited links still come up blue.
Report to moderator   Logged
« Reply #3 on: August 17, 2005, 07:31:17 AM »
moxie990 Offline
Jr. Member

View Profile
**
Posts: 50



try changing the value from "pink" make it a hex value ... sometimes a browser wont understand some colors just by their name ... pink might be one of the, (i really dont know), so just try that and see if it works for you
Report to moderator   Logged
« Reply #4 on: August 29, 2005, 05:17:28 AM »
Tenshi Offline
Newbie

View Profile
*
Posts: 5



I'm really sorry about this, but it didn't work. Thank you for helping though.
Report to moderator   Logged
« Reply #5 on: October 14, 2005, 03:42:52 PM »
bile Offline
Jr. Member

View Profile WWW
**
Posts: 70



You may need to reorder the links code like so:

a:link
a:visited
a:hover
a:active

I have had the same problem, so all I did was reorder the links, and then it worked, so don't think IM just stupid.
Report to moderator   Logged


Browser :: Mozilla FireFox 1.5
Resolution :: 1152x864
Internet Connection :: 2MB Cable Modem
« Reply #6 on: October 17, 2005, 12:16:58 AM »
h0nam Offline
Newbie

View Profile WWW
*
Posts: 2



Did you put that inbetween the <style> </style> tags?  Also, the <style> tag has to be inbetween the <head> </head> tags.

So:
Code:
<head>
<style type="text/css">
A:link{
text-decoration: none;
color: pink;
}

A:visited{
text-decoration: none;
color: ffcccc;
}

A:active{
text-decoration: none;
color: ffccff;
}

A:hover{
text-decoration: none;
color: cc6699;
}
</style>
</head>
Report to moderator   Logged

 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC