HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
CSS Code..
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
guitar-adam



Joined: 05 Feb 2006
Posts: 28

PostPosted: Mon Feb 13, 2006 6:07 am     CSS Code.. Reply with quote

Yo, I need a code using CSS where when I click on the hyperlink, the hyperlink I just clicked turns white (instead of the orignal black).
Cheers Cool
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8205
Location: Castle Rock CO USA

PostPosted: Mon Feb 13, 2006 10:50 am     Reply with quote



Check out CSS Pseudo-classes
Code:
<style type="text/css">
a:link {color: #000}
a:visited {color: #00FF00}
a:hover {color: #fff}
a:active {color: #fff}
</style>
Using the above code in the <head> of your HTML web page, you will be able to control the colors of your hyperlinks,

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial