You are here: Re: Change font color of a disabled input « HTML « IT news, forums, messages
Re: Change font color of a disabled input

Posted by Jukka K. Korpela on 03/30/07 21:08

Scripsit Martix:

> I disabled the some input boxes because I don't want the user to
> change the values because it's more for show.

Stop doing so. Present the values as normal content. Problem solved.

> I noticed that when the input box is disabled the text changes gray.

That may happen indeed. It depends on the browser.

> Is it possible to change that so that it stay the same color as normal
> text.

Perhaps. Probably not, since browsers often use built-in routines for
rendering form fields.

> There must be a default value I can change.

You're quite an optimist!

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация