css - Extremely weird behaviour with disabled elements in IE (localhost vs web server) -


i have disabled elements on page. when run app in vs2012, disabled elements looking want in ie (8-10) (not chrome i'll @ later):

enter image description here

notice burgundy text. now, deploy web server. css present , text gray:

enter image description here

here's css:

input[disabled] {              border: 1px solid #999;              color:#933 !important;              background-color:#c1c1c1; } 

here's how i'm setting input disabled

      $('#btnremovepacks').prop('disabled', true);      

why css work when i'm running in localhost , not when deploy web server?


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -