By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,657 Members | 1,045 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,657 IT Pros & Developers. It's quick & easy.

Control color on text input

P: n/a
Hello all...

Is it possible to change the font size, color, and face of <input type=text>
fields?

Thank you,

Mike Minor
Z-Code Systems, Inc.
mm*******@earthlink.net
Phone: 407-656-4990
Fax: 407-656-5875

Confidentiality Note:

This e-mail and any attachements to it are intended only for the named
recipient/s and may contain confidential information. If you are not one of
the intended recipients, please do not duplicate or forward this e0mail
message and immediatley delete it from your computer.
Jul 20 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
"Mike Minor" <mm*******@earthlink.net> wrote:
Is it possible to change the font size, color, and face of <input
type=text> fields?
Absolutely maybe. For furher information, you need to specify what you
wish to do and why, and how you tried it, and how do you think it failed.

User input is basically a practical matter. Trying to change it's
appearance is generally counter-productive. But it _is_ possible to mess
around with it, to some extent.
Confidentiality Note:


Don't be ridiculous.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #2

P: n/a
On Thu, 16 Sep 2004 18:43:34 GMT, Mike Minor wrote:
Confidentiality Note:
Reality Note:
This e-mail
This is not email, it is a post
to a usenet discussion group.
..and any attachements..
Attachments (to this group) are discouraged,
and are blocked by some servers and any decent
news-reader.
.. to it are intended only for the named recipient/s ..


No we've gone from the sublime to the ridiculous.
<http://groups.google.com/groups?as_ugroup=comp.infosystems.www.authoring.st ylesheets&as_usubject=Control%20color%20input>
'Smile, you're on Google' ;-)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 20 '05 #3

P: n/a
I am working on a project for a client that has requested that the color of
text in One and only ONE input text field on a page be in RED instead of
black. I don't understand why they want it this way, but they are insisting
that I make it this way, and.....The Customer Is Always Right....

I tried using font statements within the table cell which contains the input
field, but of course this did not work. I was wondering if you could specify
the text color of input fields within a CSS, but do it so that not all
fields have this color, but only one field. Perhaps creating different
classes for input fields???

Thank you,

Mike Minor
Z-Code Systems, Inc.
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message
news:Xn*****************************@193.229.0.31. ..
"Mike Minor" <mm*******@earthlink.net> wrote:
Is it possible to change the font size, color, and face of <input
type=text> fields?


Absolutely maybe. For furher information, you need to specify what you
wish to do and why, and how you tried it, and how do you think it failed.

User input is basically a practical matter. Trying to change it's
appearance is generally counter-productive. But it _is_ possible to mess
around with it, to some extent.
Confidentiality Note:


Don't be ridiculous.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

Jul 20 '05 #4

P: n/a
sorry ... forgot to strip out that portion of the automatic signature ...
didn't mean to offend anyones sensibilities.....

--
Thank you,

Mike Minor
Z-Code Systems, Inc.
mm*******@earthlink.net
Phone: 407-656-4990
Fax: 407-656-5875

Confidentiality Note:

This e-mail and any attachements to it are intended only for the named
recipient/s and may contain confidential information. If you are not one of
the intended recipients, please do not duplicate or forward this e0mail
message and immediatley delete it from your computer.

"Andrew Thompson" <Se********@www.invalid> wrote in message
news:1h****************************@40tude.net...
On Thu, 16 Sep 2004 18:43:34 GMT, Mike Minor wrote:
Confidentiality Note:


Reality Note:
This e-mail


This is not email, it is a post
to a usenet discussion group.
..and any attachements..


Attachments (to this group) are discouraged,
and are blocked by some servers and any decent
news-reader.
.. to it are intended only for the named recipient/s ..


No we've gone from the sublime to the ridiculous.
<http://groups.google.com/groups?as_ugroup=comp.infosystems.www.authoring.st ylesheets&as_usubject=Control%20color%20input>
'Smile, you're on Google' ;-)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane

Jul 20 '05 #5

P: n/a
see...i forgot to strip it out again....sheesh!!!!!

--
Thank you,

Mike Minor
Z-Code Systems, Inc.

"Mike Minor" <mm*******@earthlink.net> wrote in message
news:SB*****************@newsread3.news.atl.earthl ink.net...
sorry ... forgot to strip out that portion of the automatic signature ...
didn't mean to offend anyones sensibilities.....

--
Thank you,

Mike Minor
Z-Code Systems, Inc.
mm*******@earthlink.net
Phone: 407-656-4990
Fax: 407-656-5875

Confidentiality Note:

This e-mail and any attachements to it are intended only for the named
recipient/s and may contain confidential information. If you are not one
of the intended recipients, please do not duplicate or forward this e0mail
message and immediatley delete it from your computer.

"Andrew Thompson" <Se********@www.invalid> wrote in message
news:1h****************************@40tude.net...
On Thu, 16 Sep 2004 18:43:34 GMT, Mike Minor wrote:
Confidentiality Note:


Reality Note:
This e-mail


This is not email, it is a post
to a usenet discussion group.
..and any attachements..


Attachments (to this group) are discouraged,
and are blocked by some servers and any decent
news-reader.
.. to it are intended only for the named recipient/s ..


No we've gone from the sublime to the ridiculous.
<http://groups.google.com/groups?as_ugroup=comp.infosystems.www.authoring.st ylesheets&as_usubject=Control%20color%20input>
'Smile, you're on Google' ;-)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane


Jul 20 '05 #6

P: n/a
"Mike Minor" <mm*******@earthlink.net> wrote:
I am working on a project for a client that has requested that the
color of text in One and only ONE input text field on a page be in
RED instead of black.
Try telling them about color-blindness, speech-based browsers, and
advanced monochrome display devices. This should make them think and
explain the _idea_ and purpose behind the coloring request.
I don't understand why they want it this way,
Then it would not be right to do it.
but they are insisting that I make it this way, and.....The Customer
Is Always Right....


No, they are simply wrong, especially if they didn't explain their
reasons after you asked about them.

Anyway, the way to help them to hurt themselves and their users is
simple:

Assign a class to the field, e.g.
<input type="text" name="foo" class="annoy">
and use a class selector in CSS:
input.annoy { color: red; background: white; }

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #7

P: n/a
Mike Minor <mm*******@earthlink.net>:

sorry ... forgot to strip out that portion of the automatic signature ...


As if such disclaimers made any more sense elsewhere.

Back to more important things.

--
"If you can't convince them, confuse them."
Harry S. Truman
Jul 20 '05 #8

P: n/a

http://www.francesdelrio.com/form.html
text on top field is red, if you type something in 2nd field it'll be
green... enjoy!!

hadn't even occurred to me you could do this.. cool... :)

Frances
Mike Minor wrote:
I am working on a project for a client that has requested that the color of
text in One and only ONE input text field on a page be in RED instead of
black. I don't understand why they want it this way, but they are insisting
that I make it this way, and.....The Customer Is Always Right....

I tried using font statements within the table cell which contains the input
field, but of course this did not work. I was wondering if you could specify
the text color of input fields within a CSS, but do it so that not all
fields have this color, but only one field. Perhaps creating different
classes for input fields???

Thank you,

Mike Minor
Z-Code Systems, Inc.
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message
news:Xn*****************************@193.229.0.31. ..
"Mike Minor" <mm*******@earthlink.net> wrote:

Is it possible to change the font size, color, and face of <input
type=text> fields?


Absolutely maybe. For furher information, you need to specify what you
wish to do and why, and how you tried it, and how do you think it failed.

User input is basically a practical matter. Trying to change it's
appearance is generally counter-productive. But it _is_ possible to mess
around with it, to some extent.

Confidentiality Note:


Don't be ridiculous.

--
Yucca, http://www.cs.tut.fi/~jkorpela/



Jul 20 '05 #9

P: n/a
Frances, Jukka.....

Thank you so much. Just what I was looking for.
Mike Minor
Z-Code Systems, Inc.

"Frances Del Rio" <fd***@yahoo.com> wrote in message
news:2q*************@uni-berlin.de...

http://www.francesdelrio.com/form.html
text on top field is red, if you type something in 2nd field it'll be
green... enjoy!!

hadn't even occurred to me you could do this.. cool... :)

Frances
Mike Minor wrote:
I am working on a project for a client that has requested that the color
of text in One and only ONE input text field on a page be in RED instead
of black. I don't understand why they want it this way, but they are
insisting that I make it this way, and.....The Customer Is Always
Right....

I tried using font statements within the table cell which contains the
input field, but of course this did not work. I was wondering if you
could specify the text color of input fields within a CSS, but do it so
that not all fields have this color, but only one field. Perhaps creating
different classes for input fields???

Thank you,

Mike Minor
Z-Code Systems, Inc.
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message
news:Xn*****************************@193.229.0.31. ..
"Mike Minor" <mm*******@earthlink.net> wrote:
Is it possible to change the font size, color, and face of <input
type=text> fields?

Absolutely maybe. For furher information, you need to specify what you
wish to do and why, and how you tried it, and how do you think it failed.

User input is basically a practical matter. Trying to change it's
appearance is generally counter-productive. But it _is_ possible to mess
around with it, to some extent.
Confidentiality Note:

Don't be ridiculous.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Jul 20 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.