Text Boxes - Colour Background?

S

Steve Pugh

Keith said:
Is it possible to colour the backgrounds of certain text boxes?

Yes. Same as any other element set the background-color property in
your stylesheet. Don't forget to always set the color property at the
same time in order to avoid clashes with user stylesheets, etc.

Steve
 
M

Mark Parnell

Is it possible to colour the backgrounds of certain text boxes?

As Steve said, it is trivial using CSS. But be aware that browsers tend
to be fairly strict on what they will allow you to do to form elements,
and results may vary from browser to browser.
 

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
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top