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!

Underlining characters in a buttons value

Status
Not open for further replies.

hcsd

Programmer
May 17, 2000
22
US
I am using the accesskey property of a button to enable users to use shortcut keys for navigation. I would like to underline the access key character in the button value but I cannot get it to do this.
 
Here is a non-fancy solution that is part of the W3 recommendation for HTML 4:

<button accesskey=&quot;t&quot;><u>T</u>est</button>

This doesn't work in Netscape versions lower than 6 though (but what does?)...
 
<button accesskey=&quot;t&quot;><u>T</u>est</button> did the job.

Thanks,
hcsd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top