Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[CSS] properties of form fields

0 views
Skip to first unread message

Christian Machmeier

unread,
Oct 23, 2003, 9:24:07 AM10/23/03
to
Hi everybody,

in the moment we're building an intranet-application with very sharp
layout restrictions (only has to work with IE5.5/IE6). So doing this, a
special topic is look of form elements. We've managed to get a simple
and uniform layout, but some things won't work. The look of regular text
input fields is, by using CSS, no problem, but the style of a "disabled"
text field is hardly to change. If anyone of you can answer "no way",
that would be fine too, because then we could stop looking for a
solution of our problem.

I think the customization of text and color of a text input field is
nearly as difficult as the customization of the hover color of a
dropdown list. Namely, it's impossible. Is that true. Or does anybody of
you know of a suitable (maybe dirty) way to get around? Within disabled
text input fields the text color appears black (on XP). Using the
application on NT4, the text appears some greyish. Can anybody tell me
how to customize the look of those elements? A little snippet of CSS
code or a link would be fine.

TIA and regards > christian


José Jeria

unread,
Dec 8, 2003, 3:46:09 PM12/8/03
to
To answer your question how to solve this with css:

input[disabled]
{
/* css for your disabled elements */
}

The bad thing about this is that IE doesnt support it. Opera 7, Mozilla,
Netscape, Safari and others do.

/José Jeria

0 new messages