|
-
Jun 20th, 2005, 08:31 AM
#1
Thread Starter
Frenzied Member
[HTML]How do I override the default colour of the disabled property?[Resolved]
Hi all,
I have a client select box which I want to set as read only, but because I have it set as disabled the font colour is not red like I wanted it seems to go to a default grey. How can I override this for this control only?
Last edited by FishGuy; Jun 20th, 2005 at 10:34 AM.
-
Jun 20th, 2005, 08:59 AM
#2
Fanatic Member
Re: [HTML]How do I override the default colour of the disabled property?
will this work:
HTML Code:
<html>
<head>
</STYLE>
<style type="text/css"><!--
.formButton {
border:3 beveled #0000ff; background-color: #0000ff;
color: #ff0000;
font-size: 10pt;
font-family: verdana;
font-weight: bold
}
--></style>
</head>
<body>
<input class="formButton" type="button" value="Button" name="B3" disabled>
</body>
</html>
-
Jun 20th, 2005, 09:36 AM
#3
Fanatic Member
Re: [HTML]How do I override the default colour of the disabled property?
actually that wont solve your poblem...
after doing some research, i found that it wont work, it will always chane the text color, but you can make a custome button, look at this link:
http://sophie-g.net/jobs/css/e_buttons.htm
PS: i dont believe you can disable buttons in Fire Fox!
-
Jun 20th, 2005, 09:48 AM
#4
Thread Starter
Frenzied Member
Re: [HTML]How do I override the default colour of the disabled property?
Its a Select Box though that I want to change the font colour on.
-
Jun 20th, 2005, 10:22 AM
#5
Fanatic Member
Re: [HTML]How do I override the default colour of the disabled property?
same thing, you cant do much about it
-
Jun 20th, 2005, 10:34 AM
#6
Thread Starter
Frenzied Member
Re: [HTML]How do I override the default colour of the disabled property?[Resolved]
-
Jun 20th, 2005, 01:41 PM
#7
Fanatic Member
Re: [HTML]How do I override the default colour of the disabled property?[Resolved]
if you HAVE to get rid of it, you could play around with java script.
take a look at this link:
http://msdn.microsoft.com/library/de...opDownMenu.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|