Would it be important to control the style of what's typed in, or only to control the style of the text that's predefined?

-Velda


Wade Preston Shearer wrote:
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.
------------------------------------------------------------------------


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to