
Originally Posted by
odd-1
Hey, what's the easiest and quickest way to have links in CSS, that will hover, and when clicked, will hover the same as before?
Care to try explaining that again more clearly?
most of the times I find myself wondering why the hell my links get clicked once and they are stuck at the visited color/font/bold thing
That "visited color/font/bold thing" is a rather useful feature that allows users to see easily where they've been in a site. It's especially useful when there are many links to be followed.
An author can suggest different link colours so that they better suit the colour scheme of a site,
Code:
a:link {
background: ...;
color: ...;
}
a:visited {
background: ...;
color: ...;
}
a:hover {
background: ...;
color: ...;
}
but the :link and :visited pseudo-classes should always be different.
and I don't want my visitors to see the links like all the time.
What you want and what your visitors might want can be very different things.
Mike
Bookmarks