![]() |
making text boxes a different color?
hi,
im sure this is simple but im having trouble making some of my text input boxes a different color. This is the form, <input name="Email" type="text" id="Email" size="50"/> and this is how i thought i could do it but it deosnt seem to work when i upload it; <input name="Email" type="text" id="Email" size="50" STYLE="background:ffcc33"/> any help would be appreciated cheers |
You can easily do this using CSS in the header
PHP Code:
|
thanks for the reply, i know i can do that but i only want the required fields a different color. so i can only do it individually.
|
If you wish to change a certain fields colour then you can set a class name for it
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Code:
<input name="Email" type="text" id="Email" size="50" STYLE="background: #ffcc33"/> |
| All times are GMT. The time now is 02:14 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0