Css Input disabled

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I wanted to develop a Css Class that would alter the style of form elements that are either readonly or disabled.
The way I have found arrising on the search engines is:

input[disabled] { *styles* }

In my web editing application this works, but when i desplay it inside an IE6 window, the css class is ignored. Why is this? Is it something that worked for older verisions of IE that was left out of IE6? Or is there a way to do this that is slightly different?

Any help on this matter would be greatly appreciated,
Thanks for you time!

Kind Regards
Tom Medhurst

NOTE: If you do have a comment on this post, please also forward a copy to my email address so that I may pick ot up quickly. Thanks!
 
tmedhurst said:
Hi, I wanted to develop a Css Class that would alter the style of
form elements that are either readonly or disabled.
The way I have found arrising on the search engines is:

input[disabled] { *styles* }

In my web editing application this works, but when i desplay it
inside an IE6 window, the css class is ignored. Why is this? Is it
something that worked for older verisions of IE that was left out of
IE6? Or is there a way to do this that is slightly different?

Any help on this matter would be greatly appreciated,
Thanks for you time!

Kind Regards
Tom Medhurst

NOTE: If you do have a comment on this post, please also forward a
copy to my email address so that I may pick ot up quickly. Thanks!

emailed and posted
Tools | Internet Options | Accessories
Make sure "Format documents using my style sheet" is not checked. (Or IS
checked if the CSS file is saved on your hard drive.)

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Back
Top