TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

CSS Question

Page: 1 Reply
Feb 20th 2003#91702 Report
Member since: Aug 22nd 2001
Posts: 41
Just wondering, is there a way to have an onclick command in CSS. For example I want a link to be one color, the link to change colors when someone hovers over it then change again when someone clicks it. Is this possible with CSS?
Reply with Quote Reply
Feb 20th 2003#91715 Report
Member since: Mar 18th 2001
Posts: 6632
just change

a:link
a:hover
a:active
a:visited to the colors you want.

http://www.teamphotoshop.com/web_design/articles/link_css.php there's a tutorial to help.
Reply with Quote Reply
Feb 21st 2003#91926 Report
Member since: Jul 6th 2002
Posts: 316
a:active would the the one to change for what you are talking about
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum