visited link to remain same colour
Sometimes you want the visited link of an <A> to remain the same colour as
the link, but without having to specify the colour every time.
this is quite simple to do, color:inherit; this will make the alink the same
colour as whatever was before. The text-decoration:none removes colour and
underlining.
<style>
a:link, a:visited {
text-decoration:none;
color:inherit;
}
</style>
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
|