|
-
Oct 13th, 2000, 05:25 AM
#1
Hi all!
I am using a style sheet in my pages, and my problem is that I would still like some links to light up even after they have been visited.
Right now the link itself is shown in dark green. Then when a user hovers over it, it gets lighter green, and when a user has clicked on the page, the link gets dark green again. Now when a user hovers over the same link again, it stays dark green, where I would like for it to turn light green again, so it's more obvious for the user that it's a link.
Does anybody have any idea on how to achieve that? Thanx!
-
Oct 19th, 2000, 09:29 AM
#2
Lively Member
HTML Site
This is a fantastic HTML site for beginners:
http://htmlgoodies.earthweb.com/
I'm positive you'll find the answer there.
-
Oct 19th, 2000, 10:23 AM
#3
Okay, thanx for the link, but does anybody have an answer, without me having to read the entire page the link refers to? (Not that I don't think it would be useful, coz I certainly do, atm I just don't have the time to)
-
Oct 19th, 2000, 10:59 AM
#4
Hyperactive Member
You can use a CSS class to refer to the links:
example:
Code:
A.first {put your first set of styles here}
A.second {put your second set of styles here}
You can then refer to the classes
like this:
Code:
<a CLASS ="first" HREF = "http://www.some.url">click me</a>
<a CLASS = "second" HREF = "http://www.some.url">click me too</a>
-
Oct 20th, 2000, 01:59 AM
#5
Thanx again for the reply, but not that's not really what I'm looking for. My problem is that after a user has visited a link on one of my pages, I still want it to light up when I hover over it, instead of constantly remaining the color specified under the "visited" part of the link class definition in my css.
-
Oct 20th, 2000, 09:51 AM
#6
Frenzied Member
If I need this sort of functionality, I typically will set BOTH visited and new links to the same class.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 20th, 2000, 12:07 PM
#7
Hyperactive Member
I agree with monte96....Marcel, try experimenting
with the link properties, active and visited.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|