aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes href kind link without underlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "href kind link without underlink" Watch "href kind link without underlink" New topic
Author

href kind link without underlink

FY Hsieh
Ranch Hand

Joined: Aug 07, 2006
Posts: 73
click me

This displays a underline under the text. How do I remove the underline and when I click on the text it still invokes the javascript function ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Use css to set text-decoration to none.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
https://developer.mozilla.org/en/CSS/text-decoration

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: href kind link without underlink