I've been messing with this for awhile and I can't figure it out (if it's even possible). I'm trying to have multiple styles within one input box. The problem is the value is translated as pure text with no html so the following wouldn't do anything:
I'm trying to have the first word in the input box be bold and the second be normal. I don't want to just put the value on the outside of the box because i want them together. Does anyone know how to do this or if it's even possible? Maybe there's a trick to making it look like there are multiple values within one box but there are really two. This doesn't need to be submitted, it's only for viewing.
Thanks a lot!
Code:
<input type="text" name="txt1" value="<b>value:</b> result">
I'm trying to have the first word in the input box be bold and the second be normal. I don't want to just put the value on the outside of the box because i want them together. Does anyone know how to do this or if it's even possible? Maybe there's a trick to making it look like there are multiple values within one box but there are really two. This doesn't need to be submitted, it's only for viewing.
Thanks a lot!