You are here: Re: Black text in Disabled text input? « HTML « IT news, forums, messages
Re: Black text in Disabled text input?

Posted by BootNic on 10/09/07 15:47

jodleren <sonnich@hot.ee> wrote:
news:1191913077.974384.209490@19g2000hsx.googlegroups.com:

> Hi!
>
> I have a <input type="text" name="indeks" size=2 disabled>
> It is used for some JS which places its output here.
>
> How can I keep the text black, and eventually have the background in
> the same colour as the page background colour?

If you really need to display this in a input, perhaps rather then using
the disabled attribute, try the readonly attribute.

Although I think Jonathan's suggestion for a form element that you don't
want a user to edit is the best one.

--
BootNic Tuesday October 9, 2007 11:47 AM
"Do not trust your memory; it is a net full of holes; the most
beautiful prizes slip through it."
*Georges Duhamel, The Heart's Domain*

 

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

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