I've gotten a request from a client to underline text in a text field. Both single and double lines.
Is this even possible? I assume with some obscure plugin but I haven't found it yet. :P
I've thought about there being 2 possibilities, if this is possible.
Thanks for any help and/or commentary. ^_^
The quickest way to underline text is to press Ctrl+U and start typing. When you want to stop underlining, press Ctrl+U again.
The <u> tag in HTML stands for underline, and it's used to underline the text enclosed within the <u> tag. This tag is generally used to underline misspelled words.
The following works in Chrome 6.0.472.55/Ubuntu 10.04, and Firefox 3.6.9 (also Ubuntu 10.04):
input {text-decoration: underline; }
Though this, obviously, gives only a single-underline.
Quick demo at: jsbin
You could just use a CSS based solution i.e. a CSS selector to underline the text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With