color in the user input box

R

reneeccwest

how can I make the value of the user input box as a desired color? (such as red)

Is it also possible to change the color in the user input box background?

RC
 
L

Lodewijk van Haringhal

reneeccwest said:
how can I make the value of the user input box as a desired color? (such as red)

Is it also possible to change the color in the user input box background?
Use a stylesheet.
 
J

Jeff Thies

reneeccwest said:
how can I make the value of the user input box as a desired color? (such as red)

if(form[field_name].style){
form[field_name].style.backgroundColor='red'};

I use that all the time to background color form elements that fail the
form check.

Cheers,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top