|
| |
|
|
metrov
Posts: 22 Joined: 4/21/2005 Status: offline
|
Links Question - 4/26/2005 16:57:51
Hi, I've created a style sheet for my default and secondary links. I do not want the 'visited' links to be different than the intial state. The initial state is plain text. The hover state is a different color with an underline. The active is same as initial. The visited is same as initial. The problem is, once the link has been visited, I no longer get the 'hover' affect. It does not change upon rollover because it's behaving as 'visited' which is the same as initial. But I've seen numerous examples where the hover affect continues to occur even once the link has been visited. But I can't get this to work even after visiting countless CSS Tutorial and sample sites. Can someone direct me to a link pertaining to what I'm looking for? Or provide some pointers? Thanks very much
|
|
|
|
metrov
Posts: 22 Joined: 4/21/2005 Status: offline
|
RE: Links Question - 4/26/2005 17:41:24
Yes, I have them in that order. Still, hover doesn't work after link has been visited. However, I don't have the 'focus' state. Not familiar with that one. Can you explain 'focus' please? Thnx
|
|
|
|
metrov
Posts: 22 Joined: 4/21/2005 Status: offline
|
RE: Links Question - 4/26/2005 18:48:49
Ok, nevermind. It suddenly just started working fine. I have no idea why it wouldn't work before. I changed nothing. There are certain planetary alignments that definitely affect technology, computers, code and software.
|
|
|
|
d a v e
Posts: 4194 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Links Question - 4/27/2005 12:17:54
i had it down as Link, Visited, Hover, (focus), Active - LVHFA and if i remember i tested it and that's what it came out as , but i'm not 100% sure ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
metrov
Posts: 22 Joined: 4/21/2005 Status: offline
|
RE: Links Question - 4/27/2005 20:08:27
Explain 'focus', please. I've never used it, only heard of it recently, not familiar with it. What is it, how does it work? Thnx
|
|
|
|
c1sissy
Posts: 5087 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Links Question - 4/27/2005 20:52:11
Metrov, if you look up the css specs you will find the def of focus, and the rest of what is actually called the "pseudo" classes, or links. Try using that as your search. And if you search css2 specs with the pseudo class, you might get a few tutorials with focus in them. I believe that focus has to do with tab key. And if memory serves correctly it is used in forms mostly. So try a search on pseudo class focus and see what that brings up for you. I dont use focus, so I am not really familar with it, i'm just trying to remember what I have read during my readings for you. I hope that I have been some help for you.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
d a v e
Posts: 4194 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Links Question - 4/27/2005 23:52:43
it's also part of the link state when you click on a link there's a feint dotted grey box around it - you can style this using the focus pseudo-class, if you want
_____________________________
David Prescott Gekko web design
|
|
|
|
metrov
Posts: 22 Joined: 4/21/2005 Status: offline
|
RE: Links Question - 4/28/2005 8:49:30
Thanks Donkey, Didn't even know the tab key could do that. I just tried it on this forum page, and yup, sure enough, I can tab from one link to the next, and you can see the little dashed outline around each link. This is handy considering that I've developed carpel tunnel syndrome in the last year, and need to learn to use keys more [and my left hand].
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|