Old 09-30-2006   #1 (permalink)
Face addict
 
supafly's Avatar
 
Join Date: May 2004
Location: Preston England on the west side
Posts: 290

Send a message via MSN to supafly
A simple css question that I should know

How do you make it so when you click on a link it stays that colour you want it then once you click on something else it goes back to the colour it was before??

I should probbably know this but for the love of my brain i can't figure it out!
__________________
supafly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-30-2006   #2 (permalink)
Registered User
 
Join Date: Sep 2006
Posts: 27

Simple two different rules in CSS file
zlatiborac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-30-2006   #3 (permalink)
Eternal Being
 
Join Date: Feb 2006
Location: Finland
Posts: 239

I don't really understand what you are trying to do but link has these states to define
Code:
a:link, a:active, a:visited, a:hover
But if I understood correctly you want some kind of navigation system where the current page navigation is displayed differently. You need to set the current page link to a different class like
Code:
class="current"
That way you can do whatever you like for that class. Setting the class to active link is another matter and you'll need some scripting there. Let me know if this helps at all.
__________________
Telos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-30-2006   #4 (permalink)
Face addict
 
supafly's Avatar
 
Join Date: May 2004
Location: Preston England on the west side
Posts: 290

Send a message via MSN to supafly
i think i've figured it out thanks people
__________________
supafly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about EPS Format in Photoshop bullynj General Discussions 3 09-10-2006 07:40 PM
Content Mangament System Question LimitLess HTML / PHP / ASP / JS 3 06-01-2006 12:32 AM
Simple print question... Heri General Discussions 2 05-27-2006 10:36 AM
Member script question not in FAQ. London HTML / PHP / ASP / JS 6 01-04-2006 06:06 PM
Simple Member script help? ViciOuS HTML / PHP / ASP / JS 17 04-15-2005 10:42 PM


All times are GMT +1. The time now is 12:41 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT