html - Browse button not working as expected in IE -


i need change color of browse button when input type type="file".i've created js fiddle works fine in chrome.but color not getting changed in ie.please help. here's link it:http://jsfiddle.net/e42xa/596/

html:

 <form>         <input type="file" id="fileupload">     </form> 

css:

 input, label {     display: block;     } input[type="file"] {       border:none !important;     background-image:none;     cursor: pointer; }  input[type=file]::-webkit-file-upload-button {     border: none;   margin: 0;   padding: 0;   -webkit-appearance: button;   width: 100px;  background-color:#003b5c !important;   color:#fff;   cursor: pointer; } <!--[if ie]> <style type="text/css"> input.hide {     position:absolute;     let:10px;     -moz-opacity:0;     filter:alpha(opacity:0);     opacity:0;     z-index:2;     width:0px;     border-width:0px;     background-color:#003c5c !important; } </style> <![endif]--> 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -