[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?
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>
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!
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.
Re: [HTML]How do I override the default colour of the disabled property?
same thing, you cant do much about it :(
Re: [HTML]How do I override the default colour of the disabled property?[Resolved]
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