Click here to Skip to main content
15,844,155 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I am showing some buttons on the top of a page like tabs and i have added the access key (Shortcut keys) for them. Now i want to show the underline in button text on those characters like Position.

I don't want to use the image.
Kindly suggest css,jquery or any other way instead of using background images.

Thanx in advance.
Posted
Comments
fjdiewornncalwe 24-Sep-12 9:14am    
Please remove your email address from your username. If you leave it there you are opening that email address up to potential spammers.

Here is the solution for you - Style a certain character in a string[^].

Thanks...
 
Share this answer
 
 
Share this answer
 
<button type="button">Poosition</button>

style class
C#
.u
{
   text-decoration:underline;
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900