Changing colors of a link before and during hover state
One problem I'm facing is having a link where the first and last letters are red while the ones in between are black. This color combination should remain the same, even if the link has been visited. However, when hovering over the entire word, it should switch to green. Is there a way to achieve this using CSS?
<h1 id="mainLogo">
<a class="redLetters" href="index.html" title="Link">L</a>
<a id="Logo" href="index.html" title="Link"><nobr> i n </a>
<a class="redLetters" href="index.html" title="Link">k</a>
</h1>
You can check out my example onJSFiddle