[UPHPU] text in input two different styles
Wade Preston Shearer
lists at wadeshearer.com
Sat Nov 8 09:18:08 MST 2008
Is it possible to have portions of an input field's value text be
styled one way and other portions be styled another way?
For example, if I had…
<input value="abc" />
…, I'd like to have "a" be black and normal, "b" be red and italic,
and "c" be blue and italic and bold.
There's not a way to do this with markup and css since you can't have
markup within an input field, but I am wondering if it would be
possible to do with javascript.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20081108/0fadffd5/smime.bin
More information about the UPHPU
mailing list