Welcome on Kweetix Technical Blog

Tuesday, February 24, 2009

How to disable controls with a class in Firefox

.Button { font-family: Arial; font-size: 11px; color: Black; width: 80px }
.Button[disabled] { color: Green }

.MyLink { font-family: Arial; font-size: 11px; color: Black }
.MyLink[disabled] { font-family: Arial; font-size: 11px; color: Green }

.MyDiv { font-family: Arial; font-size: 11px; color: Black }
.MyDiv a { font-family: Arial; font-size: 11px; color: Red }
.MyDiv a[disabled] { font-family: Arial; font-size: 11px; color: Green }

1 comment:

  1. Thanks it was a great guide, now to disable controls with a class in firefox is definitely very easy by using your tips. Thank you

    ReplyDelete