HighDots Forums  

Control color on text input

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Control color on text input in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Minor
 
Posts: n/a

Default Control color on text input - 09-16-2004 , 01:43 PM






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.
mminorhsd (AT) earthlink (DOT) 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.



Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:02 PM






"Mike Minor" <mminorhsd (AT) earthlink (DOT) net> wrote:

Quote:
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.

Quote:
Confidentiality Note:
Don't be ridiculous.

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


Reply With Quote
  #3  
Old   
Andrew Thompson
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:04 PM



On Thu, 16 Sep 2004 18:43:34 GMT, Mike Minor wrote:

Quote:
Confidentiality Note:
Reality Note:

Quote:
This e-mail
This is not email, it is a post
to a usenet discussion group.

Quote:
..and any attachements..
Attachments (to this group) are discouraged,
and are blocked by some servers and any decent
news-reader.

Quote:
.. 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


Reply With Quote
  #4  
Old   
Mike Minor
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:12 PM



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" <jkorpela (AT) cs (DOT) tut.fi> wrote

Quote:
"Mike Minor" <mminorhsd (AT) earthlink (DOT) 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/



Reply With Quote
  #5  
Old   
Mike Minor
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:13 PM



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.
mminorhsd (AT) earthlink (DOT) 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" <SeeMySites (AT) www (DOT) invalid> wrote

Quote:
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_u...0color%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



Reply With Quote
  #6  
Old   
Mike Minor
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:14 PM



see...i forgot to strip it out again....sheesh!!!!!

--
Thank you,

Mike Minor
Z-Code Systems, Inc.

"Mike Minor" <mminorhsd (AT) earthlink (DOT) net> wrote

Quote:
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.
mminorhsd (AT) earthlink (DOT) 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" <SeeMySites (AT) www (DOT) invalid> wrote in message
news:1h4m9l9xjecf0.ujg8ba80055i.dlg (AT) 40tude (DOT) 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_u...0color%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





Reply With Quote
  #7  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 02:30 PM



"Mike Minor" <mminorhsd (AT) earthlink (DOT) net> wrote:

Quote:
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.

Quote:
I don't understand why they want it this way,
Then it would not be right to do it.

Quote:
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/


Reply With Quote
  #8  
Old   
Christoph Paeper
 
Posts: n/a

Default Re: Control color on text input - 09-16-2004 , 04:00 PM



Mike Minor <mminorhsd (AT) earthlink (DOT) net>:
Quote:
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


Reply With Quote
  #9  
Old   
Frances Del Rio
 
Posts: n/a

Default Re: Control color on text input - 09-17-2004 , 12:52 AM




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:
Quote:
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" <jkorpela (AT) cs (DOT) tut.fi> wrote in message
news:Xns9566E0389117Djkorpelacstutfi (AT) 193 (DOT) 229.0.31...

"Mike Minor" <mminorhsd (AT) earthlink (DOT) 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/





Reply With Quote
  #10  
Old   
Mike Minor
 
Posts: n/a

Default Re: Control color on text input - 09-17-2004 , 07:57 AM



Frances, Jukka.....

Thank you so much. Just what I was looking for.


Mike Minor
Z-Code Systems, Inc.

"Frances Del Rio" <fdr58 (AT) yahoo (DOT) com> wrote

Quote:
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" <jkorpela (AT) cs (DOT) tut.fi> wrote in message
news:Xns9566E0389117Djkorpelacstutfi (AT) 193 (DOT) 229.0.31...

"Mike Minor" <mminorhsd (AT) earthlink (DOT) 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/







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.