css3 appearance property for IE

前端 未结 2 2029

I have a problem with the css3 appearance property in IE. I need it to hide a select menu\'s arrow, but it\'s just not working. I tried PIE.htc, ie-css3.htc and other IE CSS

相关标签:
2条回答
  • 2020-12-15 09:54
    .listing select{
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        background: url("../images/select-bg.jpg") no-repeat scroll 0 0 transparent;
        text-indent: 0.01px;
        text-overflow: "";
    
    }
    .listing select::-ms-expand{
        display: none;
    }
    

    Note : For Chrome, Mozilla & IE 10 Works fine.

    0 讨论(0)
  • 2020-12-15 09:55

    appearance property is no longer supported. If required you can use moz-appearance for firefox or -webkit-appearance for chrome

    0 讨论(0)
提交回复
热议问题