A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
href kind link without underlink
FY Hsieh
Ranch Hand
Joined: Aug 07, 2006
Posts: 73
posted
Sep 15, 2011 11:50:57
0
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: 56233
13
I like...
posted
Sep 15, 2011 11:59:44
0
Use css to set
text-decoration
to
none
.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
Sep 15, 2011 12:00:00
0
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
Similar Threads
one small question
how to underline text ?
Rich Text Editor
dotted underline for a desired substring in JTextpane/JEditorPane
Remove the underline from the links
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter