Ce Ce wrote:

> Can default "value" text be two different styles within the same
> textbox?

No, because the text needs to be plain text - no way to insert markup there, 
thus no inner elements.

> For example -- in one input text box I'd like to put:
> Location (city or zip)
>
> Can "Location" be large and "(city or zip)" styled smaller?

No. But why would you do that? It could mislead the user into thinking that 
the input can be "rich text".

Moreover, this does not look like a useful default value but an 
explanation - something that should _precede_ the field, as a label, and 
then you can style its part, if you just use some inner markup, e.g.

<label for="loc"><span class="foo">Location</span> (city and zip):</label>
<input id="loc" ...>

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to