Simple way to make links plain?
Posted: Thu Sep 09, 2010 3:42 am
My links turn purple after click & are blue on click...I would prefer black text to remain black throughout and images as links to lack the purple/blue borders.
You shouldn't use capital letters in CSS as HTML is now written with lowercase, not uppercase.Lord Strife wrote:<style type="text/css">
A:link {text-decoration: none;color:black}
A:visited {text-decoration: none;color:black}
A:active {text-decoration: none;color:black}
A:hover {text-decoration: underline;color:black}
</style>
and for your image links add border="0"
<A href="link.html"><img src="images/imagelink.gif" border="0"></a>
Code: Select all
<style type="text/css">
a img {
border: 0px;
}
</style>