This is a discussion on "a:link, active, hover, visited...." within the Web Page Design section. This forum, and the thread "a:link, active, hover, visited.... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
a:link, active, hover, visited....
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
a:link, active, hover, visited....
Okay, I don't know that it's for this but I think it is. I am wanting to change the color of the word when i'm on that page.. like say i hover over the word forums and it loads the page, I want it to change the color to the hover color and so on. lol.. I hope i explained this good enough.
How do I do that? lol...
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|
|
#2
|
|||
|
|||
|
Re: a:link, active, hover, visited....
I don't get it ... but ... did you look at the CSS Beginner FAQ? There's one on How do I change the color of my links?
|
|
#3
|
||||
|
||||
|
Re: a:link, active, hover, visited....
yes i did look there but didn't find anything.
this is what i'm wanting to do WHEN the page is on monthlysignin i want it like this likethis.jpg not liek this: notlikethis.jpg
Last Blog Entry: My blog? (Oct 18th, 2007)
Last edited by karinne; Oct 22nd, 2007 at 18:26. Reason: Please attach big images. |
|
#4
|
||||
|
||||
|
Re: a:link, active, hover, visited....
You will need to create a .current class or whatever you want to call it...
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#5
|
||||
|
||||
|
Re: a:link, active, hover, visited....
so in my html i'll put class="current"
and my css would be like...
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
#6
|
|||
|
|||
|
Re: a:link, active, hover, visited....
Well ... is that one hover or when you are on THAT page and you want that style?
Last edited by karinne; Oct 22nd, 2007 at 18:27. |
|
#7
|
||||
|
||||
|
Re: a:link, active, hover, visited....
when im on that page i want THAT style, lol.
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
#8
|
|||
|
|||
|
Re: a:link, active, hover, visited....
Would it not be the active link that you need to add properties for seeing as that link is active
|
|
#9
|
||||
|
||||
|
Re: a:link, active, hover, visited....
I tried that AdRock. lol.. I jsut dunno haha.... I tried it but it didn't work
And I need to speak with you as well hehe.. So if you get free IM me please, lol.
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
#10
|
|||
|
|||
|
Re: a:link, active, hover, visited....
Actually, i don't know why i suggested that becuase it will only change while you hold the link down
|
|
#11
|
|||
|
|||
|
Re: a:link, active, hover, visited....
This is not related to hover, active visited or what ever.
I have done this king of technique in my page not long ago, but I can't host it because, mmm... time consuming. I'll guide you through it tho, Let's make this clear.. In every page that you visited, you want the menu to have a special different king of color, am I right? Your CSS:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Oct 23rd, 2007 at 08:45. Reason: recorrect my links |
|
#12
|
||||
|
||||
|
Re: a:link, active, hover, visited....
hmm nice. I owe u big time, lol..
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
#13
|
|||
|
|||
|
Re: a:link, active, hover, visited....
Marc "saw" it first, lol.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#14
|
||||
|
||||
|
Re: a:link, active, hover, visited....
Hmm, I'm now back to working on this problem, lol..
my CSS is
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
#15
|
||||
|
||||
|
Re: a:link, active, hover, visited....
yes, you have to go into every page and write the selcted class on the link you want selected.
Last Blog Entry: Website critique (Apr 16th, 2008)
|
|
#16
|
|||
|
|||
|
Re: a:link, active, hover, visited....
motormaniac is right, on every page the .selected class needs to be applied to the corresponding link. But, as I was looking through your html, I noticed that you have only one page - index.php, and the content is determined by ?page=NameOfPage. This means that the .selected class won't work! You need a separate page for each link to make all of this work... Am I making sense? Point is, the way you have it set up will fail.
Cheers, SWagner
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|