css - How to change label color of disabled checkbox in ASP.NET? -
how change disabled checkbox label of asp controls through css. check disabled label colour not changing tried through css, clue or hint css?
use plus (+) sign adjacent element (http://www.w3.org/tr/css21/selector.html#adjacent-selectors)
input[type="checkbox"]:checked+label{ font-weight: bold; } input[type="checkbox"]:disabled+label { color:#ccc; }
Comments
Post a Comment