View Full Version : Help with <input type="text" question
I cannot figure out how to make the background color of the input text white instead of yellow for name/phone/cell/email
I would prefer they all same color?
Thanks
here is my line of code:
Name:<br> <input type="text" name="Name" size="40">
It comes up with yellow background in the textarea..want to make that white if possible.
Put
style="background-color: white;"
in the <input> tag.
Hmm odd it worked when using frontpage on my local machine..but once open in IE outside it doenst work still
here is the page:
http://www.nnjpr.org/application.htm
Looks white to me using IE.
really hmm..
that is strange...on 2 pc here at home i see yellow on name/phone/cell/email
everything else is white
i am using IE 6
Using IE 4, IE 5, IE 6 and Mozilla FireFox, the boxes are all white.
Put
style="background-color: white;"
in the <input> tag.Or rather than adding it to every tag you can control *all* form elements with a couple of lines in the head of your file:
<STYLE TYPE="text/css">
<!--
input { background: #FFFFFF; }
textarea { background: #FFFFFF; }
-->
</STYLE>
Or rather than adding it to every tag you can control *all* form elements with a couple of lines in the head of your file:
<STYLE TYPE="text/css">
<!--
input { background: #FFFFFF; }
textarea { background: #FFFFFF; }
-->
</STYLE>
Well, very true, but then as long as we are giving CSS tips we might as well also suggest going to an external style sheet so you do not have to put it in every page.
P_O_D_U_N_K
7-22-04, 12:41 AM
Google toolbar strikes again :D
Google toolbar strikes again :D
The forum search works too ;)
vBulletin v3.6.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.