Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css

Status
Not open for further replies.

spookie

Programmer
May 30, 2001
655
IN
hi all,
i want the links which have no underline but the underline should appear when cursor moves on it.how this can be done by CSS
thanks in advance.
spookie
 
Hi spookie,

yes, it can be done by CSS.
Try this,

<style>
.myLink { TEXT-DECORATION: none }
.myLink:hover { TEXT-DECORATION: underline }
</style>

<A href=&quot;&quot; class=&quot;myLink&quot;>something</a>

hope this helps, Chiu Chan
WebMaster & Software Engineer
emagine solutions, inc
cchan@emagine-solutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top