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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -