Changing the text color in a text box

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
i know it might simple to others.  I am just wondering how to change
the text color in a texbox.


Re: Changing the text color in a text box

Are you familiar with CSS?  That's what you'll need to do it.  For

    <style type="text/css">
form input {/*************************************/
  color: blue;/* this here's the interesting bit */
      <input type="text" value="this is a test">

Never used CSS before?  There're a plethora of tutorials on the web,
for example:

or, if the link breaks,

Hope this helps,

Walter Gildersleeve
Freiburg, Germany

URL Shortening
Free and easy, small and green.

Re: Changing the text color in a text box wrote:

Quoted text here. Click to load it

Wrong advice. First, blue is wrong color for text on web pages, unless the
text is a link. Second, you haven't specified background color, i.e. you have
missed the "C" of "CSS".

Yucca, /
Pages about Web authoring:

Site Timeline