View Full Version : underline a character in button
pankaj
04-09-2003, 10:15 AM
<input type="button" value="Update">
How do I underline U in Update
Mhtml
04-09-2003, 11:53 AM
As far as I'm aware you can't. You could float an image over it but that is just .. bleh, ;)
You can underline all the text though. :)
[edit:] Unless of course you want to go ie only with <button>, not recommended though.
tommysphone
04-09-2003, 12:13 PM
Build an image that Says Update
Of course you'll add the _ under the u :) See the file I've uploaded.
Have fun.
input[type="button"]:first-letter {
text-decoration: underline;
}
might work in browsers like Mozilla, Opera, Safari...
brothercake
04-09-2003, 12:32 PM
Button isn't IE only; all standards compliant browsers support it (as well as IE)
<button type="button"><span class="u">U</span>pdate</button>
Use a class, rather than <u>, because <u> is deprecated.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.