Home > DeveloperSection > Forums > How to change label color of disabled checkbox
Pravesh Singh
Pravesh Singh

Total Post:101

Points:709
Posted on    September-01-2014 12:10 AM

 ASP.Net
Ratings:


 1 Reply(s)
 1092  View(s)
Rate this:

How to change disabled checkbox label of asp controls through CSS. Check disabled but the label colour is not changing even i tried through CSS, so any clue or hint with CSS?



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    September-01-2014 12:49 AM

Hi Pravesh, 

input[type="checkbox"]:checked+label{ font-weight: bold; } 

input[type="checkbox"]:disabled+label

{

     color:#ccc;

}


Don't want to miss updates? Please click the below button!

Follow MindStick