Z-Code Systems,Inc。 " Jukka K. Korpela" < JK ****** @ cs.tut.fi>在消息中写道 news:Xn ***************************** @ 193.229.0.31。 ..I am working on a project for a client that has requested that the color oftext in One and only ONE input text field on a page be in RED instead ofblack. I don''t understand why they want it this way, but they are insistingthat I make it this way, and.....The Customer Is Always Right....I tried using font statements within the table cell which contains the inputfield, but of course this did not work. I was wondering if you could specifythe text color of input fields within a CSS, but do it so that not allfields have this color, but only one field. Perhaps creating differentclasses for input fields???Thank you,Mike MinorZ-Code Systems, Inc."Jukka K. Korpela" <jk******@cs.tut.fi> wrote in messagenews:Xn*****************************@193.229.0.31. .." Mike Minor" <毫米******* @ earthlink.net>写道: "Mike Minor" <mm*******@earthlink.net> wrote:是否可以更改< input type = text>的字体大小,颜色和面部。田地? 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.保密注意: 不要可笑。 - Yucca, http://www.cs.tut.fi/~jkorpela/ 这篇关于控制文本输入的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-22 16:28