IBM developerWorks
           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 September 21st, 2003, 09:31 PM
m1ndeater m1ndeater is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 m1ndeater User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS -> link,over,visited,and active

Hi, thanks in advance for anyone hwo can help me with this problem.

I am designing a website, and with it, I have created a stylesheet. For example, I have defined the following:

links, (active and visited included):
red
bold
verdani
size 12

and hovered links:
blue
bold
arial
size 12

The problem I am having, is that the links work fine, (red at first, and then blue when mouse-over), until one has been clicked, then, it is red as a link, (how it should be), but when you mouse-over, it stays red and doesn't turn blue like I want it to.

here is my css definitions:

a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FF0000;
text-decoration: none;
}
a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FF0000;
text-decoration: none;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #0099FF;
text-decoration: underline;
}


Thanks for any suggestions.

Reply With Quote
  #2  
Old September 21st, 2003, 10:15 PM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
Try this:

a:link
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FF0000;
text-decoration: none;
}
a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FF0000;
text-decoration: none;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #0099FF;
text-decoration: underline;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #0099FF;
text-decoration: underline;
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS -> link,over,visited,and active


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 4 hosted by Hostway