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

style of disabled form-item

0 views
Skip to first unread message

Tim

unread,
Sep 3, 2003, 6:32:28 AM9/3/03
to
how do I apply a CSS-defined style to a disabled form-item (i.e. a dropdown
menu)?


Ivo

unread,
Sep 21, 2003, 7:06:20 PM9/21/03
to
"Tim" <nob...@nowhere.not> wrote in message news:<bj4fvk$bn0$1...@news3.tilbu1.nb.home.nl>...

> how do I apply a CSS-defined style to a disabled form-item (i.e. a dropdown
> menu)?

The only way I can think right now is to dynamically alter the style
or className of the element in question each time the abled status
switches. Not an elegant solution.
But it 's an interesting problem. Let 's hope for some brighter minds.
Ivo

Pascal Chevrel

unread,
Sep 22, 2003, 9:04:25 AM9/22/03
to


I am not sure I understand the question, a disabled form item isn't
styled differently than an abled form item.

Pasacl


--
FAQ Mozilla/Netscape 7 en français : http://pascal.chevrel.free.fr/
Foros Mozilla en español : http://pascal.chevrel.free.fr/mozilla

paolo

unread,
Oct 3, 2003, 3:50:00 AM10/3/03
to
I have this problem since a long time , and I'm very happy to see you are
talking about it !

Why it's no possible to decide the right style for a disabled item; better
will be to decide the right style for the all disabled items.
Because for default a disabled item has the grey color ! and that's no good,
because I want to use this attribute with input that contain the string wich
explain a code on his side.

I could use the attribute readonly, but I want that tabindex fly away
forgetting this control.

So it would be great to be able to modify the style of a disabled control.

Thanks in advance Paolo

"Ivo" <san...@mail.com> ha scritto nel messaggio
news:8092d41d.03092...@posting.google.com...

0 new messages