wood burning stoves 2.0*
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


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: 15299
    
    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: 15299
    
    6

Thanks Eric. Button tag worked great.
 
GeeCON Prague 2014
 
subject: Underline Character on Submit Button