CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 25th, 2003, 12:07 PM
karlotta2 karlotta2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 karlotta2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS Style Sheets

I'm in the process of building a web site and I made an external style sheet for text that I'm using as links. The purpose of the style sheet is for no underline under the text link. While that works, the color change on rollover of the link does not. ex. When I put the cursor over the link and click---the color stays black and does not change to red like it's supposed to. How do I get around this problem? Please help ASAP. Thanks.

Reply With Quote
  #2  
Old August 25th, 2003, 12:36 PM
magma's Avatar
magma magma is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Italy, EU
Posts: 517 magma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 45 m 8 sec
Reputation Power: 6
If you could quote or attach that part of your CSS file it will be more easy for us to help you...
__________________
Cheers, Dave

Reply With Quote
  #3  
Old August 25th, 2003, 12:48 PM
karlotta2 karlotta2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 karlotta2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here is the Style Sheet, I've figured out how to have the color change on rollover mostly, there is only link that won't change still for some reason. Also, I have not been able to get the visited link color to change.

.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; line-height: 15px; font-weight: normal; font-variant: normal; text-transform: none; color: #000000; letter-spacing: normal; word-spacing: normal; text-decoration: none}
a:link { color: #000000; text-decoration: none}
a:active { color: #CC0000}
a:hover { color: #CC0000}
a:active { text-decoration: none}
a:hover { }
a:hover { }
a:hover { }
a:hover { }
a:hover { text-decoration: none}
a:hover { }
a:active { }
a:visited { color: #CC0000}

Reply With Quote
  #4  
Old August 25th, 2003, 01:24 PM
magma's Avatar
magma magma is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Italy, EU
Posts: 517 magma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 45 m 8 sec
Reputation Power: 6
Using this CSS:
Code:
A:link {
	color: #000000;
	text-decoration: none;
}
A:active {
	color: #CC0000;
} 
A:hover {
	color: #CC0000;
} 
A:visited {
	color: #CC0000;
}
I've had that the links haven't any decoration and they're red but when unvisited.
Try to test it with a link to a site you have NEVER visited.

P.S. I don't understand that list of a:hover{}...

Hope it helps!

Reply With Quote
  #5  
Old August 25th, 2003, 01:51 PM
karlotta2 karlotta2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 karlotta2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you very much.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Style Sheets


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway