.searchbox { question

liunx

Guest
Hello

On one of my forms I use .searchbox { instead of the textarea tag in the following way:

<font face="etc" size="etc" color="etc"><b>Message</b></font><br><input name="etc" value="<%= etc %>" class="searchbox"></p>

One limitation is that when the user types in the message box, the text goes on and on because there are no scrollbars. I think this might be something to do with wordwrapping.

Is there a value I can use with .searchbox { so that if the user types more than one line, a scrollbar would appear? In textarea we would normally use rows and cols.

Many thanks

laTortuga<textarea wrap="virtual"></textarea>Hello Jona

Thanks for your reply.

Do you mean I should use:

<textarea wrap="virtual"></textarea>

instead of .searchbox {?????

But how would I define the border properties, colour, etc?

Many thanks again.

laTortugaUse both. Use wrap="virtual" and .searchbox { color:textColor; border-color:borderColor; }Hello Jona

Many thanks for getting back to me.

Let me try it..........

Cheers

laTortuga
 
Back
Top