[UPHPU] text in input two different styles
Velda
velda at novapages.com
Sat Nov 8 12:01:51 MST 2008
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
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
More information about the UPHPU
mailing list