mouseover on active links.

liunx

Guest
i saw a website that when i moused over an active link, not only was the link underlined, but there was a line over the text... (overlined?)<br />
<br />
the site is <!-- w --><a class="postlink" href="http://www.rccars.com">www.rccars.com</a><!-- w --> how did they do that? like what code would i have to use to to that?<!--content-->add this to the HEAD bit:<br />
<br />
<style><br />
A:active {text-decoration:line-through underline overline;}<br />
A:hover {text-decoration:line-through underline;}<br />
</style><br />
<br />
you can also add background color, make it bold or italic, change the case, change the font face or size, the line-spacing, etc., etc., etc..... CSS is awesome.<!--content-->
 
Back
Top