Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 05-25-2005, 09:12 PM css Links
Burnsie's Avatar
Skilled Talker

Posts: 81
Trades: 0
I want to produce a page that displays two different link colours via a style sheet. That is to say I want the links to be different colours in both the up and over states. I have tryed various classes and inline styles but can not get two different over states. I think it's something to do with the "hover" state and the order that the syles are in but I just can't phathom it.

Ideas pleeeease
cheers
Burnsie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2005, 09:22 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Have you made sure that your CSS links are in the proper order, like this:

a:link{
color: #F01E1E;
text-decoration: none;
}

a:visited{
color: #F01E1E;
text-decoration: none;
}

a:hover{
color: #778CB3;
text-decoration: underline;
}

If you don't put them in this exact order they won't work correctly.

Hope that helps,

Kaiman

Glenwood Springs, CO - Website Hosting and Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Old 05-26-2005, 09:56 AM
CasaPages's Avatar
SillyPhilly

Posts: 758
Location: between here an somewhere else
Trades: 0
Here is something I did for another post.....

Quote:
Originally Posted by CasaPages

Code:
	.Y:link, .Y:visited
      	{
      	font-family: tahoma;
      	color: yellow;
      	text-decoration: underline;
      	font-size: 100%;
      	}
      	.Y:hover
      	{
      	color: blue;
      	font-size: 100%;
      	text-decoration: none;
      	}
      	
      	.Y:active
      	{
      	color: yellow;
      	font-size: 100%;
      	text-decoration: none;
      	}
then in your html use this

HTML Code:
<a class="Y" href="#">CoolLink</a>
and modify the css till you get what you like then to make a diffrent link just change the class...

here is a quick demo

View the CSS
Hope this helps
__________________
It Happens

Please login or register to view this content. Registration is FREE
CasaPages is offline
Reply With Quote
View Public Profile Visit CasaPages's homepage!
 
Old 05-26-2005, 12:15 PM
Burnsie's Avatar
Skilled Talker

Posts: 81
Trades: 0
It works! you wonderful human being. I could kiss you!

Great big thanks

Burnsie
Burnsie is offline
Reply With Quote
View Public Profile
 
Old 05-26-2005, 04:35 PM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
sorry for the spam, but that's one delighted member

hope to see some more of you Burnsie
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to css Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20197 seconds with 12 queries