HOW TO CHANGE LABEL COLOR OF DISABLED CHECKBOX

Pravesh Singh

Total Post:101

Points:709
Posted by  Pravesh Singh
 1501  View(s)
Ratings:
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?

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: How to change label color of disabled checkbox

    Hi Pravesh, 


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

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

    {

         color:#ccc;

    }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!