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
My CSS links code isn't working...?
Old 08-03-2009, 01:56 AM My CSS links code isn't working...?
eichSii's Avatar
Novice Talker

Posts: 11
Name: Lyric
Trades: 0
I have this:

Code:
a.link { text-decoration: none; color: black; }
a.visited { text-decoration: none; color: black; }
a.active { text-decoration: none; color: black; }
a.hover { text-decoration: underline; color: gray; }
in my stylesheet, but it isn't affecting the page.
It's gotta be something to do with this code, because everything else from my stylesheet is working on the page.
Is there something wrong with this code that I'm overlooking?
__________________
Ah yes. Endless mind malfunction.
eichSii is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2009, 06:12 AM Re: My CSS links code isn't working...?
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
unless the class is hover or link or visited etc, it needs to have colons.

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

Please login or register to view this content. Registration is FREE
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Old 08-03-2009, 09:46 AM Re: My CSS links code isn't working...?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
They also must be in a SPECIFIC order:

Quote:
a:link
a:visited
a:hover
a:active
Think LoVeHAte
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to My CSS links code isn't working...?
 

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.54553 seconds with 12 queries