Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Disable a field keeping text black?

 
Thread Tools Search this Thread
Old 04-08-2004, 09:50 AM   #1
Default Disable a field keeping text black?


I have a dropdown box that may or may not be disabled depending on what the
user's selected. Disabling it stops any changes & focus but the text
automatically turns grey. Is there anyway to keep the text black but the
background still grey?

Tried with CSS & although can get the background to change to grey I can't
find a way of preventing changes (& focus)?

any ideas

many thanks

J.H




harry
  Reply With Quote
Old 04-08-2004, 10:01 AM   #2
brucie
 
Posts: n/a
Default Re: Disable a field keeping text black?

in post: <news:1n8dc.5338$>
"harry" <> said:

> I have a dropdown box that may or may not be disabled depending on what the
> user's selected. Disabling it stops any changes & focus but the text
> automatically turns grey. Is there anyway to keep the text black but the
> background still grey?


the colors are dependent on the visitors settings, they may not
necessarily be the same as your grey.

some browser allow you to change the fore and/or background colors with
the usual CSS but i would strongly recommend against it.

a person can instantly recognize that something is unavailable to them
with their normal colors/styles. when you change them they have no idea
what the colors may represent.

--
b r u c i e
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump