make link underlined only when rolled over

Hi there. I have seen it done somewhere before and was hoping someone could help me with this.<br />
<br />
I need the code which allows me to change the link colour for certain links (i.e. not all links behave in the same way) and for links to only underline when rolled over.<br />
<br />
help would be greatly appreciated!<br />
<br />
Regards<br />
<br />
will<!--content-->CSS would be the best thing to use go here <!-- w --><a class="postlink" href="http://www.w3schools.com">www.w3schools.com</a><!-- w --> for a good tutorial and post back if you run into trouble.<!--content-->Another option is you could simply use a rollover, one pic with the normal text, and one with the underlined word. Then use the onMouseOver event on the <a> tag, might be a little easier than divulging into the world of css.<!--content-->Oh yuck javascript, CSS would be the way to go its much simplier and cleaner. If your decent with HTML then CSS should be a breeze.<!--content-->awesome !<br />
<br />
what would the code be to make text underline when rolled over?<br />
<br />
regards,<br />
<br />
will<!--content-->As i said go to w3schools but here is a link strait to your problem as you are not willing to help yourself<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/tryit.asp?filename=trycss_link2">http://www.w3schools.com/css/tryit.asp? ... ycss_link2</a><!-- m --><!--content-->
 
Back
Top