File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Underline Character on Submit Button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Underline Character on Submit Button" Watch "Underline Character on Submit Button" New topic
Author

Underline Character on Submit Button

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

I am making Access Keys for my Submit Buttons and was wondering if there was a way to underline a single character on a submit button. Or am I going to have to use Images for my Submit Buttons.
Thanks.


GenRocket - Experts at Building Test Data
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Use the button tag to do it...
<button><u>T</u>ext</button>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can also use a submit button and use a bg image
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Thanks Eric. Button tag worked great.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Underline Character on Submit Button